Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Release 0.3.6

Tj Holowaychukb50de76acd97
diff --git a/History.md b/History.md
index 3448cd0a..117fd05d 100644
--- a/History.md
+++ b/History.md
@@ -1,4 +1,9 @@
+0.3.6 / 2011-12-09
+==================
+
+ * Removed suite merging (for now)
+
0.3.5 / 2011-12-08
==================
diff --git a/lib/mocha.js b/lib/mocha.js
index f2145f48..07d103d7 100644
--- a/lib/mocha.js
+++ b/lib/mocha.js
@@ -9,7 +9,7 @@
* Library version.
*/
-exports.version = '0.3.5';
+exports.version = '0.3.6';
exports.interfaces = require('./interfaces');
exports.reporters = require('./reporters');
diff --git a/mocha.js b/mocha.js
index 5d5f62f3..374d0265 100644
--- a/mocha.js
+++ b/mocha.js
@@ -433,7 +433,7 @@ require.register("mocha.js", function(module, exports, require){
* Library version.
*/
-exports.version = '0.3.5';
+exports.version = '0.3.6';
exports.interfaces = require('./interfaces');
exports.reporters = require('./reporters');
@@ -2052,22 +2052,6 @@ var EventEmitter = require('browser/events').EventEmitter
exports = 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
@@ -2085,9 +2069,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;
};
/**
diff --git a/package.json b/package.json
index 1c93f47f..31ccc549 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mocha"
- , "version": "0.3.4"
+ , "version": "0.3.6"
, "description": "Test framework inspired by JSpec, Expresso, & Qunit"
, "keywords": ["test", "bdd", "tdd", "tap"]
, "bin": { "mocha": "./bin/mocha" }