Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(jest): support multiple jest installations #3781

Merged
merged 3 commits into from
Oct 10, 2022
Merged

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Oct 8, 2022

Use the jest instance relative to react-scripts when the projectType is "create-react-app", instead of simply loading jest from the CWD. This allows users to install a newer version of jest right next to react-scripts to be used for other tasks.

Fixes #3783

Use the jest instance that comes with react-scripts when project-type is "create-react-app", instead of simply loading jest from the cwd. This allows users to install a newer version of `jest` right next to react-scripts.
@nicojs nicojs changed the title fix(jest): support multiple jest installs fix(jest): support multiple jest installations Oct 9, 2022
@nicojs nicojs merged commit 9f10e20 into master Oct 10, 2022
@nicojs nicojs deleted the fix/react-scripts branch October 10, 2022 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stryker fails with create-react-app and Jest 28/29
1 participant