Skip to content

armgit / mocha

Public Imported from GitHub
0

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

1.17.1

Travis Jeffery7fc565ee3e22
diff --git a/History.md b/History.md
index d8cadebd..1347a2ac 100644
--- a/History.md
+++ b/History.md
@@ -1,3 +1,10 @@
+1.17.1 / 2014-01-22
+==================
+
+ * fix: expected messages in should.js (should.js#168)
+ * fix: expect errno global in node versions < v0.9.11 (#1111)
+ * fix: unreliable checkGlobals optimization (#1110)
+
1.17.0 / 2014-01-09
==================
diff --git a/bower.json b/bower.json
index 5a452f58..84becdab 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "mocha",
- "version": "1.17.0",
+ "version": "1.17.1",
"main": "mocha.js",
"ignore": [
"bin",
diff --git a/component.json b/component.json
index cc589f92..1f1cc968 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "mocha",
- "version": "1.17.0",
+ "version": "1.17.1",
"repo": "visionmedia/mocha",
"description": "simple, flexible, fun test framework",
"keywords": [
diff --git a/mocha.js b/mocha.js
index fec94e59..3dcdae6c 100644
--- a/mocha.js
+++ b/mocha.js
@@ -4518,10 +4518,6 @@ Runner.prototype.checkGlobals = function(test){
ok = ok.concat(test._allowedGlobals || []);
}
- // check length - 2 ('errno' and 'location' globals)
- if (isNode && 1 == ok.length - globals.length) return;
- else if (2 == ok.length - globals.length) return;
-
if(this.prevGlobalsLength == globals.length) return;
this.prevGlobalsLength = globals.length;
diff --git a/package.json b/package.json
index 4ae39e62..2f5f07a8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mocha",
- "version": "1.17.0",
+ "version": "1.17.1",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",