Skip to content

Commit

Permalink
runnable.js: fix async skip()
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Feb 19, 2019
1 parent 42303e2 commit d679d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runnable.js
Expand Up @@ -347,7 +347,7 @@ Runnable.prototype.run = function(fn) {
// halt execution. the Runnable will be marked pending
// by the previous call, and the uncaught handler will ignore
// the failure.
throw new Pending('async skip; aborting execution');
// throw new Pending('async skip; aborting execution');
};

if (this.allowUncaught) {
Expand Down

0 comments on commit d679d86

Please sign in to comment.