Skip to content

Commit

Permalink
Adjust tests to new exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Aug 15, 2016
1 parent 76b84f5 commit 2c85695
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration/multiple.done.js
Expand Up @@ -81,7 +81,7 @@ describe('multiple calls to done()', function() {
assert.equal(res.stats.pending, 0);
assert.equal(res.stats.passes, 2);
assert.equal(res.stats.failures, 2);
assert.equal(res.code, 2);
assert.equal(res.code, 1);
});

it('correctly attributes the errors', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/timeout.js
Expand Up @@ -9,7 +9,7 @@ describe('this.timeout()', function() {
assert.equal(res.stats.pending, 0);
assert.equal(res.stats.passes, 0);
assert.equal(res.stats.failures, 2);
assert.equal(res.code, 2);
assert.equal(res.code, 1);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/integration/uncaught.js
Expand Up @@ -28,7 +28,7 @@ describe('uncaught exceptions', function() {
'fails exactly once when a global error is thrown first');
assert.equal(res.failures[1].title,
'fails exactly once when a global error is thrown second');
assert.equal(res.code, 2);
assert.equal(res.code, 1);
done();
});
});
Expand Down

0 comments on commit 2c85695

Please sign in to comment.