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
-
Given this folder structure:
when running
yarn test
onlysecond.test.js
is 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
/amplify
too?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