Is it possible to run jest tests that are above the /src/ folder? #11629
Unanswered
PeteDuncanson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given this folder structure:
when running
yarn testonlysecond.test.jsis run. I believe this is because the default start folder in CRA is/src/How can I change that so that it will go look in
/amplifytoo?I tried adding a "jest" config to package.json but I can't seem to get the pattern right to get it to look at the root. Any pointers?
Beta Was this translation helpful? Give feedback.
All reactions