Skip to content

Newbie question #765

Answered by rster2002
owangen asked this question in Q&A
Aug 30, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Not sure if you still need help as it has been a while, but I'll answer anyways.

Windows doesn't support setting environment variables that way. Your best bet is to use something WSL if you have it as this will use linux to run the script. If you don't have WSL you can take a look at cross-env and change the script to be: "test": "cross-env ZHC_TEST=true jest test" Hope this helps you in any way 👍

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@owangen
Comment options

Answer selected by owangen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants