mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
24 lines
639 B
JavaScript
24 lines
639 B
JavaScript
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2021, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
/* eslint-disable no-console */
|
|
|
|
beforeAll(function () {
|
|
spyOn(console, 'warn').and.callThrough();
|
|
spyOn(console, 'error').and.callThrough();
|
|
});
|
|
|
|
afterEach(function (done) {
|
|
setTimeout(function () {
|
|
expect(console.warn).not.toHaveBeenCalled();
|
|
expect(console.error).not.toHaveBeenCalled();
|
|
done();
|
|
}, 0);
|
|
});
|