☕️ Classic, reliable, trusted test framework for Node.js and the browser
Removed suite merging (for now)
Tj Holowaychukce2451c39135
diff --git a/bin/mocha b/bin/mochaindex b3ca8465..7d661e7a 100755--- a/bin/mocha+++ b/bin/mocha@@ -191,7 +191,6 @@ if (program.watch) {stop()suite = suite.clone();ui = interfaces[program.ui](suite);- Suite.reset();load(files, function(){run(suite, function(){play(frames);diff --git a/lib/suite.js b/lib/suite.jsindex 2762d13d..667ee3e6 100644--- a/lib/suite.js+++ b/lib/suite.js@@ -13,22 +13,6 @@ var EventEmitter = require('events').EventEmitterexports = module.exports = Suite;-/**- * Suite map.- */--var map = {};--/**- * Reset the suite map.- *- * @api public- */--exports.reset = function(){- map = {};-};-/*** Create a new `Suite` with the given `title`* and parent `Suite`. When a suite with the@@ -46,9 +30,8 @@ exports.create = function(parent, title){var suite = new Suite(title);suite.parent = parent;title = suite.fullTitle();- if (map[title]) return map[title];parent.addSuite(suite);- return map[title] = suite;+ return suite;};/**