-
I am trying to run react-query tests. I forked the repo, ran yarn, and then yarn test without any changes and am getting the following error:
Is there some additional setup that needs to be run to make this work?
|
Beta Was this translation helpful? Give feedback.
Answered by
dusty
Feb 22, 2021
Replies: 1 comment
-
I figured this out, you need to pass NODE_ENV=test env variable. eg:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dusty
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured this out, you need to pass NODE_ENV=test env variable.
eg: