2017-06-12 10:51:54 -05:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2018-01-05 04:42:49 -06:00
|
|
|
// Copyright (C) 2013 - 2018, The pgAdmin Development Team
|
2017-06-12 10:51:54 -05:00
|
|
|
// 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);
|
2018-01-05 04:42:49 -06:00
|
|
|
});
|