-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make App Scripts React compatible with Jest 27 (#3750)
* Upgrade babel-jest version This is to match with the current version of Jest. Also Jest is added as a peer dependency to reflect this. * Change the babel jest transform script This is done to reflect the new API changes in babel-jest. The second line is done so that it can stay backwards compatible with Jest 26 if needed. References: #3398 (comment) jestjs/jest#11444 (comment) * Use jsdom as a test environment to run jest This is done so the react testing-library can render the DOM elements in testing.
- Loading branch information
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f77639b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: