We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2789f4e commit ce9f3d9Copy full SHA for ce9f3d9
test/unit/globals.js
@@ -2,6 +2,9 @@ import sinon from 'sinon';
2
import { expect } from 'chai';
3
4
beforeEach(function () {
5
+ if (console.error.restore) {
6
+ console.error.restore();
7
+ }
8
sinon.spy(console, 'error');
9
});
10
0 commit comments