☕️ Classic, reliable, trusted test framework for Node.js and the browser
Merge branch 'master' into x-browser
Guillermo Rauch7fffe599843b
diff --cc Makefileindex f8218d6a,b067a054..93d4a91e--- a/Makefile+++ b/Makefile@@@ -10,9 -9,14 +10,14 @@@ all: mocha.js mocha.csmocha.css: test/browser/style.csscp -f $< $@-mocha.js: $(SRC)- @node support/compile $^+mocha.js: $(SRC) $(SUPPORT)+ @node support/compile $(SRC)- @cat support/head.js _mocha.js support/{tail,foot}.js > mocha.js+ @cat \+ support/head.js \+ _mocha.js \+ support/setZeroTimeout.js \+ support/{tail,foot}.js \+ > mocha.jsclean:rm -f mocha.{js,css}diff --cc lib/mocha.jsindex ffbb58a1,91e3afe6..37ad6f4b--- a/lib/mocha.js+++ b/lib/mocha.js@@@ -9,9 -9,8 +9,9 @@@* Library version.*/- exports.version = '0.5.0';+ exports.version = '0.6.0';+exports.utils = require('./utils');exports.interfaces = require('./interfaces');exports.reporters = require('./reporters');exports.Runnable = require('./runnable');diff --cc support/tail.jsindex fe57b0dd,f92420c2..c5861ca9--- a/support/tail.js+++ b/support/tail.js@@@ -11,9 -11,9 +11,9 @@@process = {};process.exit = function(status){};process.stdout = {};-global = this;+global = window;- process.nextTick = function(fn){ fn(); };+ process.nextTick = setZeroTimeout;process.removeListener = function(ev){if ('uncaughtException' == ev) {