Skip to content

Commit b6327b5

Browse files
committed
both jest and mocha need cross env to do hooks on windows
1 parent 72ef758 commit b6327b5

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
@@ -12,7 +12,7 @@
1212
"mocha": "nyc mocha --timeout=5000 --exit",
1313
"test": "npm run coverage:clean && npm run test:unit && npm run test:e2e && npm run coverage",
1414
"test:unit": "cross-env NODE_ENV=test jest --coverage",
15-
"test:e2e": "NODE_ENV=test npm run fresh && npm run mocha",
15+
"test:e2e": "cross-env NODE_ENV=test npm run fresh && npm run mocha",
1616
"dev": "cross-env NODE_ENV=development nodemon --inspect=9230 server.js",
1717
"fresh": "npm run clean && npm run seed",
1818
"clean": "node clean.js",

0 commit comments

Comments
 (0)