mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-02 05:19:12 -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);
|
|
});
|