☕️ Classic, reliable, trusted test framework for Node.js and the browser
fixed events to match node
Tj Holowaychuk1303f14b131b
diff --git a/lib/browser/events.js b/lib/browser/events.jsindex 50c47ba0..bbac40bd 100644--- a/lib/browser/events.js+++ b/lib/browser/events.js@@ -3,7 +3,7 @@* Module exports.*/-module.exports = EventEmitter;+exports.EventEmitter = EventEmitter;/*** Check if `obj` is an array.diff --git a/mocha.js b/mocha.jsindex 5c4f7296..944791ec 100644--- a/mocha.js+++ b/mocha.js@@ -61,7 +61,7 @@ require.register("browser/events.js", function(module, exports, require){* Module exports.*/-module.exports = EventEmitter+exports.EventEmitter = EventEmitter;/*** Check if `obj` is an array.