Skip to content

Commit 74c57e1

Browse files
committed
Use --require instead of --compilers in Mocha command
1 parent 0ca768b commit 74c57e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "babel src/ -d lib/ --ignore __tests__",
1111
"docs:build": "gitbook build",
1212
"docs:serve": "gitbook serve",
13-
"test": "xo && mocha --compilers js:babel-register \"src/**/__tests__/*.js\"",
13+
"test": "xo && mocha --require babel-register \"src/**/__tests__/*.js\"",
1414
"prepublishOnly": "npm test && npm run build"
1515
},
1616
"repository": {

0 commit comments

Comments
 (0)