From cf4050608b9da4b2f34d407197505e5baec18a77 Mon Sep 17 00:00:00 2001 From: juergba Date: Wed, 16 Oct 2019 19:29:49 +0200 Subject: [PATCH] adapt existing test --- test/unit/mocha.spec.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/unit/mocha.spec.js b/test/unit/mocha.spec.js index 648853feab..d63238b6fa 100644 --- a/test/unit/mocha.spec.js +++ b/test/unit/mocha.spec.js @@ -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() { @@ -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() {