Skip to content

Commit 5d2981c

Browse files
XhmikosRBenjamin E. Coe
andauthored
fix: fix package.json test:snap script to use cross-env (#366)
Co-authored-by: Benjamin E. Coe <[email protected]>
1 parent 8a6b4b4 commit 5d2981c

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
"scripts": {
1313
"test": "cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=8000 ./test/*.js",
1414
"coverage": "cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js --check-coverage mocha --timeout=8000 ./test/*.js",
15-
"test:snap": "CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test",
15+
"test:snap": "cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test",
1616
"fix": "standard --fix",
1717
"posttest": "standard"
1818
},

0 commit comments

Comments
 (0)