tests: check for global leaks

This commit is contained in:
Douglas Christopher Wilson
2014-08-25 18:33:22 -04:00
parent 005dbad307
commit 0375dd3638
+3 -3
View File
@@ -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/"
}
}