When I execute tests with Jest, you have these options:
If I'm in a React app created with create-react-app
, I run the test, I use the p
options, and I digit the pattern, the list of matched files is shown:
Instead, when I run Jest in a custom app I created (adding Jest manually), the matched files are not shown:
How can I see the matched files in Jest like create-react-app
does?
This is my current package.json
's Jest section:
"jest": {
"moduleDirectories": [
"node_modules",
"."
]
}
Aucun commentaire:
Enregistrer un commentaire