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

👽 Update api/test per ts-jest deprecations #693

Merged
merged 4 commits into from
Feb 2, 2022
Merged

Conversation

jrolfs
Copy link
Collaborator

@jrolfs jrolfs commented Jan 29, 2022

  • Upgrade Jest to 27.4
  • Forward ts-jest utils from ts-jest instead of ts-jest/utils and forward mocked from Jest for backwards compatibility

See: https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md#deprecations
See: jestjs/jest#12089

@jrolfs jrolfs self-assigned this Jan 29, 2022
I'm not exactly sure why as `ts-jest` looks to be implementing Jest's
`SyncTransform` type properly.
No alternative is provided, so this would break things anyways unless
a dependent project provided its own transform. This unambiguously makes
`ts-jest` the default transform and project can always explicitly override
the transform in its `jest.config`
@jrolfs jrolfs merged commit 2e9b18f into main Feb 2, 2022
@jrolfs jrolfs deleted the ts-jest-exports branch February 2, 2022 22:33
@github-actions
Copy link

github-actions bot commented Feb 2, 2022

🎉 This PR is included in version 6.68.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant