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

refactor(jest-config): change normalize to async function #11179

Merged
merged 1 commit into from Mar 11, 2021
Merged

refactor(jest-config): change normalize to async function #11179

merged 1 commit into from Mar 11, 2021

Conversation

ahnpnl
Copy link
Contributor

@ahnpnl ahnpnl commented Mar 11, 2021

Summary

Related to #11167

I would love to include support preset in ESM changes into one PR but it looks kind of a lot of changes because changing only normalize to async function already took quite some efforts to correct tests. Therefore this PR is to split up those changes.

Bonus: Also converted normalize.test.js to normalize.test.ts and fixed as many IDE complaints as possible.

Test plan

Green CI

@SimenB
Copy link
Member

SimenB commented Mar 11, 2021

Awesome stuff @ahnpnl! I actually started with this locally, but as you say there were so many changes to the tests I just noped out of it 🙈

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

thanks for doing this!

packages/jest-config/src/__tests__/normalize.test.ts Outdated Show resolved Hide resolved
@ahnpnl ahnpnl marked this pull request as ready for review March 11, 2021 09:20
@SimenB SimenB merged commit b1764ef into jestjs:master Mar 11, 2021
@ahnpnl ahnpnl deleted the async-normalize branch March 11, 2021 09:37
@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 10, 2021
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