Comparing version 0.3.4 to 0.3.6
0.3.6 / 2011-12-09 | ||
================== | ||
* Removed suite merging (for now) | ||
0.3.5 / 2011-12-08 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -12,3 +12,3 @@ | ||
exports.version = '0.3.5'; | ||
exports.version = '0.3.6'; | ||
@@ -15,0 +15,0 @@ exports.interfaces = require('./interfaces'); |
@@ -17,18 +17,2 @@ | ||
/** | ||
* Suite map. | ||
*/ | ||
var map = {}; | ||
/** | ||
* Reset the suite map. | ||
* | ||
* @api public | ||
*/ | ||
exports.reset = function(){ | ||
map = {}; | ||
}; | ||
/** | ||
* Create a new `Suite` with the given `title` | ||
@@ -50,5 +34,4 @@ * and parent `Suite`. When a suite with the | ||
title = suite.fullTitle(); | ||
if (map[title]) return map[title]; | ||
parent.addSuite(suite); | ||
return map[title] = suite; | ||
return suite; | ||
}; | ||
@@ -55,0 +38,0 @@ |
21
mocha.js
@@ -436,3 +436,3 @@ | ||
exports.version = '0.3.5'; | ||
exports.version = '0.3.6'; | ||
@@ -2057,18 +2057,2 @@ exports.interfaces = require('./interfaces'); | ||
/** | ||
* Suite map. | ||
*/ | ||
var map = {}; | ||
/** | ||
* Reset the suite map. | ||
* | ||
* @api public | ||
*/ | ||
exports.reset = function(){ | ||
map = {}; | ||
}; | ||
/** | ||
* Create a new `Suite` with the given `title` | ||
@@ -2090,5 +2074,4 @@ * and parent `Suite`. When a suite with the | ||
title = suite.fullTitle(); | ||
if (map[title]) return map[title]; | ||
parent.addSuite(suite); | ||
return map[title] = suite; | ||
return suite; | ||
}; | ||
@@ -2095,0 +2078,0 @@ |
{ | ||
"name": "mocha" | ||
, "version": "0.3.4" | ||
, "version": "0.3.6" | ||
, "description": "Test framework inspired by JSpec, Expresso, & Qunit" | ||
@@ -5,0 +5,0 @@ , "keywords": ["test", "bdd", "tdd", "tap"] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
138179
79
4859