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 +5 -0
- package/bin/_mocha +3 -7
- package/package.json +1 -1
package/History.md
CHANGED
package/bin/_mocha
CHANGED
|
@@ -292,10 +292,8 @@ if (program.watch) {
|
|
|
292
292
|
|
|
293
293
|
function loadAndRun() {
|
|
294
294
|
mocha.files = files;
|
|
295
|
-
mocha.
|
|
296
|
-
|
|
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.
|
|
325
|
-
mocha.run(process.exit);
|
|
326
|
-
});
|
|
322
|
+
mocha.run(process.exit);
|
|
327
323
|
|
|
328
324
|
// enable growl notifications
|
|
329
325
|
|