--findRelatedTests Configuration
See original GitHub issueHey, I already tried to get some help on Stack Overflow, but without success yet.
Is there a way to configure the behavior of --findRelatedTests
? When I edit a JSON file with breaking changes, --findRelatedTests
won’t find .jsx?
files, that are importing the broken JSON files. However jest --watch
finds them correctly.
I’m using --findRelatedTests
in my pre-commit Hook.
Let me know if you need more information about my setup. I keep also the SO question up2date.
Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6
Top Results From Across the Web
Jest CLI Options
Every one of Jest's Configuration options can also be specified through the CLI. Here is a brief overview: Running from the command line....
Read more >How does jest --findRelatedTests work under the hood?
This lookup relies directly on some Jest configuration, specifically roots and/or rootDir , to help resolve paths.
Read more >Execute related jests specs for MRs with backend changes
Plan Run jest --findrelatedTests on MRs that contain backend changes Incremental benefits: shorter backend pipelines...
Read more >Jest CLI Options - GitHub Pages
Every one of Jest's Configuration options can also be specified through the CLI. ... jest --findRelatedTests path/to/fileA.js path/to/fileB.js.
Read more >@stryker-mutator/jest-runner - npm
This will override file-based config. undefined. enableFindRelatedTests (optional), Whether to run jest with the --findRelatedTests flag.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sounds like a bug! Can you use a proper template and provide a repro we can download?
seems to be still actual