Skip to content

Commit

Permalink
adapt existing test
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Oct 16, 2019
1 parent bcac901 commit cf40506
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/unit/mocha.spec.js
Expand Up @@ -20,7 +20,6 @@ describe('Mocha', function() {
beforeEach(function() {
sandbox.stub(Mocha.prototype, 'timeout').returnsThis();
sandbox.stub(Mocha.prototype, 'globals').returnsThis();
sandbox.stub(Mocha.prototype, 'useInlineDiffs').returnsThis();
});

describe('when "options.timeout" is `undefined`', function() {
Expand Down Expand Up @@ -50,16 +49,6 @@ describe('Mocha', function() {
]).and('was called once');
});
});

describe('when "options.inlineDiffs" is `undefined`', function() {
it('should set inlineDiffs to `true`', function() {
// eslint-disable-next-line no-new
new Mocha({inlineDiffs: true});
expect(Mocha.prototype.useInlineDiffs, 'to have a call satisfying', [
true
]).and('was called once');
});
});
});

describe('#allowUncaught()', function() {
Expand Down

0 comments on commit cf40506

Please sign in to comment.