☕️ Classic, reliable, trusted test framework for Node.js and the browser
fix indexOf. Closes #680
TJ Holowaychukf427a137cc4d
diff --git a/lib/runner.js b/lib/runner.jsindex d79809bb..03a11a1d 100644--- a/lib/runner.js+++ b/lib/runner.js@@ -119,7 +119,7 @@ Runner.prototype.globalProps = function() {// non-enumerablesfor (var i = 0; i < globals.length; ++i) {- if (~props.indexOf(globals[i])) continue;+ if (~utils.indexOf(props, globals[i])) continue;props.push(globals[i]);}