2023-06-30 05:38:33 -05:00
|
|
|
////////////////////////////////////////////////////////////////////////
|
2017-06-12 10:51:54 -05:00
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2023-01-02 00:23:55 -06:00
|
|
|
// Copyright (C) 2013 - 2023, The pgAdmin Development Team
|
2017-06-12 10:51:54 -05:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/* eslint-disable no-console */
|
|
|
|
|
2021-08-24 01:21:47 -05:00
|
|
|
beforeAll(function () {
|
2023-06-09 07:52:20 -05:00
|
|
|
// Warnings can be ignored
|
|
|
|
// spyOn(console, 'warn').and.callThrough();
|
2022-02-10 23:26:13 -06:00
|
|
|
spyOn(console, 'error').and.callThrough();
|
2021-12-02 04:35:52 -06:00
|
|
|
jasmine.getEnv().allowRespy(true);
|
2021-08-24 01:21:47 -05:00
|
|
|
});
|
2017-06-12 10:51:54 -05:00
|
|
|
|
2021-08-24 01:21:47 -05:00
|
|
|
afterEach(function (done) {
|
|
|
|
setTimeout(function () {
|
2023-06-09 07:52:20 -05:00
|
|
|
// Warnings can be ignored
|
|
|
|
// expect(console.warn).not.toHaveBeenCalled();
|
2022-02-10 23:26:13 -06:00
|
|
|
expect(console.error).not.toHaveBeenCalled();
|
2021-08-24 01:21:47 -05:00
|
|
|
done();
|
|
|
|
}, 0);
|
|
|
|
});
|