-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
chorer: add note about babel config to upgrade guide #12724
Conversation
@@ -7,7 +7,7 @@ Upgrading Jest from v27 to v28? This guide aims to help refactoring your configu | |||
|
|||
:::info | |||
|
|||
See [changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) for the full list of changes. | |||
See [changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md#2800) for the full list of changes. |
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.
this anchor doesn't do anything right now, but will be correct when I make the release
docs/UpgradingToJest28.md
Outdated
@@ -182,3 +182,7 @@ import {jest} from '@jest/globals'; | |||
.mockResolvedValue('default') | |||
.mockResolvedValueOnce('first call'); | |||
``` | |||
|
|||
## Babel config |
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.
Perhaps could go up? Or under Configuration
? The idea was to keep alphabetical order, hoping that this could help the reader. But not necessary it works as I was thinking (;
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.
fair, moved it 👍
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
#12689 is a gotcha when upgrading from Jest 27, so let's call it out in the upgrade guide
Test plan
🤷