☕️ Classic, reliable, trusted test framework for Node.js and the browser
Removes return statement irt #1700.
Joshua Appelman413753ff2847
diff --git a/lib/runnable.js b/lib/runnable.jsindex 6e4803fd..399c18db 100644--- a/lib/runnable.js+++ b/lib/runnable.js@@ -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;