Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Release 1.2.2

TJ Holowaychuk123656a164ce
diff --git a/History.md b/History.md
index 26fcfa43..9e62d83d 100644
--- a/History.md
+++ b/History.md
@@ -1,4 +1,9 @@
+1.2.2 / 2012-06-28
+==================
+
+ * Added 0.8.0 support
+
1.2.1 / 2012-06-25
==================
diff --git a/bin/_mocha b/bin/_mocha
index af6bcbea..54578860 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -55,7 +55,7 @@ var images = {
// options
program
- .version(mocha.version)
+ .version(require('../package').version)
.usage('[debug] [options] [files]')
.option('-r, --require <name>', 'require the given module')
.option('-R, --reporter <name>', 'specify the reporter to use', 'dot')
diff --git a/lib/mocha.js b/lib/mocha.js
index 050d7835..b9ad3f9d 100644
--- a/lib/mocha.js
+++ b/lib/mocha.js
@@ -16,12 +16,6 @@ var path = require('path');
exports = module.exports = Mocha;
-/**
- * Library version.
- */
-
-exports.version = '1.2.1';
-
/**
* Expose internals.
*/
diff --git a/mocha.js b/mocha.js
index bc2a8f94..05ad4d82 100644
--- a/mocha.js
+++ b/mocha.js
@@ -885,12 +885,6 @@ var path = require('browser/path');
exports = module.exports = Mocha;
-/**
- * Library version.
- */
-
-exports.version = '1.2.1';
-
/**
* Expose internals.
*/
diff --git a/package.json b/package.json
index d1bf34ee..bf3638d2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mocha"
- , "version": "1.2.1"
+ , "version": "1.2.2"
, "description": "simple, flexible, fun test framework"
, "keywords": ["test", "bdd", "tdd", "tap"]
, "author": "TJ Holowaychuk <[email protected]>"