Skip to content

Commit 5039737

Browse files
authored
Merge pull request #354 from chainlink/upgrade-mocha-add-debug
Upgrade mocha to support new node chrome debug tools
2 parents 6a4e598 + 8eba5c9 commit 5039737

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"jshint": "^2.9.1",
31-
"mocha": "^2.2.1",
31+
"mocha": "^3.1.2",
3232
"should": "^5.0.1",
3333
"sinon": "^1.13.0"
3434
},
@@ -38,7 +38,8 @@
3838
},
3939
"scripts": {
4040
"pretest": "./node_modules/.bin/jshint --config ./.jshintrc lib test",
41-
"test": "NODE_ENV=test ./node_modules/.bin/mocha 'test/**/*_test.js'"
41+
"test": "NODE_ENV=test ./node_modules/.bin/mocha 'test/**/*_test.js'",
42+
"test-debug": "NODE_ENV=test ./node_modules/.bin/mocha --inspect --debug-brk 'test/**/*_test.js'"
4243
},
4344
"repository": {
4445
"type": "git",

0 commit comments

Comments
 (0)