You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn test command is not working correctly on windows:
$ yarn test
yarn run v1.22.4
$ BABEL_ENV=test jest --config jest.config.json
'BABEL_ENV' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
Expected behaviour
yarn test command runs on windows correctly
Suggested solution
Installing cross-env package
Modifying test command to:
"test": "cross-env BABEL_ENV=test jest --config jest.config.json",
What's wrong?
yarn test
command is not working correctly on windows:Expected behaviour
yarn test
command runs on windows correctlySuggested solution
cross-env
packagetest
command to:Proposed solution: #492
The text was updated successfully, but these errors were encountered: