From c0123419cc91b77a6fad42fb94baf56e036498cf Mon Sep 17 00:00:00 2001 From: juergba Date: Fri, 25 Oct 2019 14:59:20 +0200 Subject: [PATCH] adapt existing tests --- test/unit/runner.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/runner.spec.js b/test/unit/runner.spec.js index 67043a98bb..b3b3a903a5 100644 --- a/test/unit/runner.spec.js +++ b/test/unit/runner.spec.js @@ -811,9 +811,9 @@ describe('Runner', function() { sandbox.stub(runnable, 'isPending').returns(true); }); - it('should not attempt to fail', function() { + it('should attempt to fail', function() { runner.uncaught(err); - expect(runner.fail, 'was not called'); + expect(runner.fail, 'was called once'); }); });