Closed peterennis closed 4 years ago
for windows, in the package.json file change the test line under scripts to: "test": "SET TZ=\"Asia/Jerusalem\" && jest --runInBand --forceExit",
Fixed this on the new version, now using environment variable inside .env.test
:
TZ=UTC
will push the new version later today
for windows, in the package.json file change the test line under scripts to: "test": "SET TZ="Asia/Jerusalem" && jest --runInBand --forceExit",
actually, you need to escape the double quotes
"SET TZ=\"UTC\" && jest"
You just need to start script with jest
and remove other prefix before jest ! (worked for me!)
Windows 10