From fb5b841fdc65ed69adcbcbf4b33d17a0f61249e5 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Thu, 5 Feb 2015 21:11:50 +0100 Subject: Use mocha to check for global leaks --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 6efa4e4..f7b7ddb 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "mocha": "^2.1.0" }, "scripts": { - "test": "node node_modules/mocha/bin/mocha -R spec", + "test": "mocha -R spec --check-leaks", "coverage": "istanbul cover ./node_modules/mocha/bin/_mocha" } } -- cgit v1.2.3