Skip to content

Commit

Permalink
test(test/reporters/base.spec.js): Fix Base reporter test failure due…
Browse files Browse the repository at this point in the history
… to timeout

The `Base` reporter's specification verifies reporter can interpret Chai custom error messages. This
test takes ~480ms (lightly loaded CPU), which is _way_ too close to the 500ms timeout. Change
doubles this timeout.

#3524
  • Loading branch information
plroebuck authored and boneskull committed Oct 24, 2018
1 parent 4ddfcaf commit adb1f61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/reporters/base.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ describe('Base reporter', function() {
});

it('should interpret Chai custom error messages', function() {
this.timeout(1000);
var chaiExpect = require('chai').expect;
try {
chaiExpect(43, 'custom error message').to.equal(42);
Expand Down

0 comments on commit adb1f61

Please sign in to comment.