Skip to content

Commit 521e6bd

Browse files
committed
tests: add leak checking for variables and handles
1 parent 7b26d57 commit 521e6bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"node": ">= 0.8.0"
3939
},
4040
"scripts": {
41-
"test": "mocha --bail --reporter spec test/",
42-
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/",
43-
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"
41+
"test": "mocha --check-leaks --bail --no-exit --reporter spec test/",
42+
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --no-exit --reporter dot test/",
43+
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --no-exit --reporter spec test/"
4444
}
4545
}

0 commit comments

Comments
 (0)