Skip to content

Commit 24541f2

Browse files
stevetaggartCompuIves
authored andcommitted
Use cross-env to run tests (codesandbox#2916)
This lets `yarn test` work on Windows (without installing something like `win-node-env`).
1 parent a46faca commit 24541f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prepublish": "yarn build",
2121
"start": "(yarn tsc --watch & yarn babel src --out-dir lib --watch & yarn cpx \"src/**/*.{css,svg,png,jpg}\" lib --watch)",
2222
"start:storybook": "start-storybook",
23-
"test": "NODE_ENV=test jest",
23+
"test": "cross-env NODE_ENV=test jest",
2424
"typecheck": "tsc --noEmit"
2525
},
2626
"jest": {

0 commit comments

Comments
 (0)