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

Jest.mergePreset: Fix compatibility with NodeNext #1481

Merged
merged 6 commits into from
Mar 19, 2024
Merged

Conversation

72636c
Copy link
Member

@72636c 72636c commented Mar 19, 2024

Copy link

changeset-bot bot commented Mar 19, 2024

🦋 Changeset detected

Latest commit: 5eb6ea5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
skuba Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@72636c 72636c changed the title Fix Jest compatibility with NodeNext Jest.mergePreset: Fix compatibility with NodeNext Mar 19, 2024
@72636c 72636c marked this pull request as ready for review March 19, 2024 07:02
@72636c 72636c requested review from a team as code owners March 19, 2024 07:02
@@ -38,10 +63,8 @@ module.exports.transform = Object.fromEntries(
TS_JEST_PATH,
{
...value[1],
isolatedModules:
value[1]?.isolatedModules ??
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed some of this complexity because defaults.transform doesn't populate isolatedModules nor tsconfig. We can always update this in future if that changes.

@72636c 72636c merged commit 3bffa47 into master Mar 19, 2024
18 checks passed
@72636c 72636c deleted the jest-node-next branch March 19, 2024 22:11
@seek-oss-ci seek-oss-ci mentioned this pull request Mar 19, 2024
@seek-oss-ci seek-oss-ci mentioned this pull request Apr 2, 2024
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.

2 participants