Uncomment the incorrectly commented code in the previous commit.

pull/73/head
Akshay Joshi 2022-02-11 10:56:13 +05:30
parent bc4e8a3c82
commit f002b11106
1 changed files with 4 additions and 4 deletions

View File

@ -10,15 +10,15 @@
/* eslint-disable no-console */
beforeAll(function () {
// spyOn(console, 'warn').and.callThrough();
// spyOn(console, 'error').and.callThrough();
spyOn(console, 'warn').and.callThrough();
spyOn(console, 'error').and.callThrough();
jasmine.getEnv().allowRespy(true);
});
afterEach(function (done) {
setTimeout(function () {
// expect(console.warn).not.toHaveBeenCalled();
// expect(console.error).not.toHaveBeenCalled();
expect(console.warn).not.toHaveBeenCalled();
expect(console.error).not.toHaveBeenCalled();
done();
}, 0);
});