From d795cc61c8a27db460056965dcb77a2573add29c Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 15 Aug 2014 19:51:48 -0400 Subject: [PATCH] tests: check for global leaks --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c0e3809..59b0fad 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "index.js" ], "scripts": { - "test": "mocha --reporter spec test/", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/", - "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/" + "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/" } }