Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
3
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.4 to 0.3.6

test.js

5

History.md
0.3.6 / 2011-12-09
==================
* Removed suite merging (for now)
0.3.5 / 2011-12-08

@@ -3,0 +8,0 @@ ==================

2

lib/mocha.js

@@ -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 @@

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc