We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44182b7 commit b2c5d65Copy full SHA for b2c5d65
test/index.js
@@ -4,7 +4,7 @@ beforeEach(() => {
4
sinon.stub(console, 'error');
5
});
6
7
-afterEach(() => {
+afterEach(function checkNoUnexpectedWarnings() {
8
if (typeof console.error.restore === 'function') {
9
assert(!console.error.called, () => {
10
return `${console.error.getCall(0).args[0]} \nIn '${this.currentTest.fullTitle()}'`;
0 commit comments