Skip to content

Commit 23db476

Browse files
committed
build: add leak checking in tests
1 parent 28f0c10 commit 23db476

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
},
2626
"devDependencies": {
2727
"istanbul": "0.2.10",
28-
"mocha": "~1.20.0",
28+
"mocha": "~1.20.1",
2929
"supertest": "~0.13.0",
30-
"should": "~4.0.0"
30+
"should": "~4.0.1"
3131
},
3232
"engines": {
3333
"node": ">= 0.8.0"
3434
},
3535
"scripts": {
36-
"test": "mocha --reporter dot",
37-
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
38-
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec"
36+
"test": "mocha --check-leaks --reporter dot",
37+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot",
38+
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec"
3939
}
4040
}

0 commit comments

Comments
 (0)