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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chorer: add note about babel config to upgrade guide #12724

Merged
merged 3 commits into from Apr 24, 2022

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Apr 24, 2022

Summary

#12689 is a gotcha when upgrading from Jest 27, so let's call it out in the upgrade guide

Test plan

馃し

@@ -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.
Copy link
Member Author

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

@@ -182,3 +182,7 @@ import {jest} from '@jest/globals';
.mockResolvedValue('default')
.mockResolvedValueOnce('first call');
```

## Babel config
Copy link
Contributor

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 (;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair, moved it 馃憤

@SimenB SimenB merged commit 9ebfe0a into jestjs:main Apr 24, 2022
@SimenB SimenB deleted the babel-config-upgrade-guide branch April 24, 2022 12:50
F3n67u pushed a commit to F3n67u/jest that referenced this pull request May 2, 2022
@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants