From 055484444eabeab901f99b3776034dfc4ec2666e Mon Sep 17 00:00:00 2001 From: juergba Date: Tue, 19 Feb 2019 14:53:14 +0100 Subject: [PATCH] runner.js: fix uncaught() Pending --- lib/runner.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/runner.js b/lib/runner.js index fc69a687cf..541506e1d0 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -781,6 +781,9 @@ Runner.prototype.runSuite = function(suite, fn) { * @private */ Runner.prototype.uncaught = function(err) { + if (err instanceof Pending) { + return; + } if (err) { debug('uncaught exception %O', err); } else {