Skip to content

Commit

Permalink
Fix test failures because global error handler isn't stubbed
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed May 31, 2016
1 parent 05671a8 commit 9be82a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/raven.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2137,6 +2137,8 @@ describe('install/uninstall', function () {

// Test setup.
this.sinon.stub(Raven, 'isSetup').returns(true);
this.sinon.stub(TraceKit.report, 'subscribe');

document.addEventListener = false;
document.attachEvent = this.sinon.stub();

Expand Down

0 comments on commit 9be82a4

Please sign in to comment.