diff --git a/package.json b/package.json index 14c9721..5a6e27a 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "node": ">= 0.8.0" }, "scripts": { - "test": "mocha --reporter dot", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot", - "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec" + "test": "mocha --reporter spec --bail --check-leaks test/", + "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", + "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" } }