Skip to content

Commit 9be82a4

Browse files
committed
Fix test failures because global error handler isn't stubbed
1 parent 05671a8 commit 9be82a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/raven.test.js

+2
Original file line numberDiff line numberDiff line change
@@ -2137,6 +2137,8 @@ describe('install/uninstall', function () {
21372137

21382138
// Test setup.
21392139
this.sinon.stub(Raven, 'isSetup').returns(true);
2140+
this.sinon.stub(TraceKit.report, 'subscribe');
2141+
21402142
document.addEventListener = false;
21412143
document.attachEvent = this.sinon.stub();
21422144

0 commit comments

Comments
 (0)