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: add jest config in the templates #91

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Conversation

aladdin-add
Copy link

since jest v27, the default test env has been changed to 'node'.
this commit configured it to 'jsdom' in react templates.
refs: https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults

since jest v27, the default test env has been changed to 'node'.
this commit configured it to 'jsdom' in react templates.
refs: https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults
@aladdin-add aladdin-add merged commit 711f414 into main Nov 12, 2021
@aladdin-add aladdin-add deleted the fix/jest-testEnvironment branch November 12, 2021 06:01
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.

None yet

1 participant