Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Release 0.6.0

TJ Holowaychuk43d671083246
diff --git a/History.md b/History.md
index 67cdbeb7..f4e940ac 100644
--- a/History.md
+++ b/History.md
@@ -1,4 +1,13 @@
+0.6.0 / 2011-12-18
+==================
+
+ * Added setZeroTimeout timeout for browser (nicer stack traces). Closes #153
+ * Added "view source" on hover for HTML reporter to make it obvious
+ * Changed: replace custom growl with growl lib
+ * Fixed duplicate reporting for HTML reporter. Closes #154
+ * Fixed silent hook errors in the HTML reporter. Closes #150
+
0.5.0 / 2011-12-14
==================
diff --git a/lib/mocha.js b/lib/mocha.js
index 8039c583..91e3afe6 100644
--- a/lib/mocha.js
+++ b/lib/mocha.js
@@ -9,7 +9,7 @@
* Library version.
*/
-exports.version = '0.5.0';
+exports.version = '0.6.0';
exports.interfaces = require('./interfaces');
exports.reporters = require('./reporters');
diff --git a/mocha.css b/mocha.css
index 2dedf491..e7f94393 100644
--- a/mocha.css
+++ b/mocha.css
@@ -31,6 +31,15 @@ body {
margin-left: 15px;
}
+#mocha .test:hover h2::after {
+ position: relative;
+ top: 0;
+ right: -10px;
+ content: '(view source)';
+ font-size: 12px;
+ color: #888;
+}
+
#mocha .test.pass::before {
content: '✓';
font-size: 12px;
diff --git a/package.json b/package.json
index b22a65f4..f22297ed 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mocha"
- , "version": "0.5.0"
+ , "version": "0.6.0"
, "description": "simple, flexible, fun test framework"
, "keywords": ["test", "bdd", "tdd", "tap"]
, "bin": { "mocha": "./bin/mocha" }