Skip to content

Commit

Permalink
Removes return statement irt #1700.
Browse files Browse the repository at this point in the history
This fixes #1700 and closes #1701.
Thanks to: Edwin Shin [eddies].
  • Loading branch information
Joshua Appelman committed Jun 5, 2015
1 parent 5e0bde2 commit 413753f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/runnable.js
Expand Up @@ -212,9 +212,6 @@ Runnable.prototype.run = function(fn){
if (self.timedOut) return;
if (finished) return multiple(err || self._trace);

// Discard the resolution if this test has already failed asynchronously
if (self.state) return;

self.clearTimeout();
self.duration = new Date - start;
finished = true;
Expand Down

0 comments on commit 413753f

Please sign in to comment.