☕️ Classic, reliable, trusted test framework for Node.js and the browser
Added errno to globals
Tj Holowaychuk92d347f13def
diff --git a/lib/runner.js b/lib/runner.jsindex c5877edc..e3aa622d 100644--- a/lib/runner.js+++ b/lib/runner.js@@ -33,7 +33,7 @@ module.exports = Runner;function Runner(suite) {this.suite = suite;this.total = suite.total();- this.globals = Object.keys(global);+ this.globals = Object.keys(global).concat(['errno']);this.on('test end', this.checkGlobals.bind(this));this.grep(/.*/);}