Skip to content

Commit 16badeb

Browse files
committed
--bail works in mocha.opts in cmd.exe
1 parent 6fe37ef commit 16badeb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"nodemon": "nodemon",
1010
"start": "npm run compile && npm run nodemon server.js",
1111
"mocha": "mocha",
12-
"test": "npm run compile && npm run mocha -b",
12+
"test": "npm run compile && npm run mocha",
1313
"watch": "onchange exercises/*.jsx -- npm run test"
1414
},
1515
"repository": {

test/mocha.opts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--compilers js:babel/register
2-
--require test/helpers.js
2+
--require test/helpers.js
3+
--bail

0 commit comments

Comments
 (0)