mocha 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/History.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 1.3.2 / 2012-08-01
3
+ ==================
4
+
5
+ * fix exports double-execution regression. Closes #531
6
+
2
7
  1.3.1 / 2012-08-01
3
8
  ==================
4
9
 
package/bin/_mocha CHANGED
@@ -292,10 +292,8 @@ if (program.watch) {
292
292
 
293
293
  function loadAndRun() {
294
294
  mocha.files = files;
295
- mocha.loadFiles(function(){
296
- mocha.run(function(){
297
- play(frames);
298
- });
295
+ mocha.run(function(){
296
+ play(frames);
299
297
  });
300
298
  }
301
299
 
@@ -321,9 +319,7 @@ if (program.watch) {
321
319
  // load
322
320
 
323
321
  mocha.files = files;
324
- mocha.loadFiles(function(){
325
- mocha.run(process.exit);
326
- });
322
+ mocha.run(process.exit);
327
323
 
328
324
  // enable growl notifications
329
325
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mocha"
3
- , "version": "1.3.1"
3
+ , "version": "1.3.2"
4
4
  , "description": "simple, flexible, fun test framework"
5
5
  , "keywords": ["test", "bdd", "tdd", "tap"]
6
6
  , "author": "TJ Holowaychuk <tj@vision-media.ca>"