☕️ Classic, reliable, trusted test framework for Node.js and the browser
Release 0.0.3
Tj Holowaychukdb2b3f72dcad
diff --git a/History.md b/History.mdindex 412b8b0e..a470eb85 100644--- a/History.md+++ b/History.md@@ -1,4 +1,10 @@+0.0.3 / 2011-11-23+==================++ * Added `-C, --no-colors` to explicitly disable+ * Added coffee-script support+0.0.2 / 2011-11-22==================diff --git a/lib/mocha.js b/lib/mocha.jsindex ec5f9975..d5db2947 100644--- a/lib/mocha.js+++ b/lib/mocha.js@@ -9,7 +9,7 @@* Library version.*/-exports.version = '0.0.2';+exports.version = '0.0.3';exports.interfaces = require('./interfaces');exports.reporters = require('./reporters');diff --git a/mocha.js b/mocha.jsindex 705cd170..4f390c43 100644--- a/mocha.js+++ b/mocha.js@@ -360,7 +360,7 @@ require.register("mocha.js", function(module, exports, require){* Library version.*/-exports.version = '0.0.1';+exports.version = '0.0.2';exports.interfaces = require('./interfaces');exports.reporters = require('./reporters');@@ -1469,7 +1469,7 @@ function Runner(suite) {this.suite = suite;this.total = suite.total();this.globals = Object.keys(global).concat(['errno']);- this.on('test end', function(){ self.checkGlobals(); });+ this.on('test end', function(test){ self.checkGlobals(test); });this.grep(/.*/);}diff --git a/package.json b/package.jsonindex da75e26f..4eb9c5aa 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "mocha"- , "version": "0.0.2"+ , "version": "0.0.3", "description": "Test framework inspired by JSpec, Expresso, & Qunit", "keywords": ["test", "bdd", "tdd", "tap"], "bin": { "mocha": "./bin/mocha" }