Skip to content

chore(jest): replace ts-jest with @swc/jest #798

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

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

Belco90
Copy link
Member

@Belco90 Belco90 commented Aug 9, 2023

Checks

Changes

  • replace ts-jest with @swc/jest

Context

Making our Jest tests faster with @swc/jest. A comparison running all the tests in an Intel MacBook Pro:

Running tests with ts-jest takes around 55 seconds

Running tests with @swc/jest takes around 40 seconds

@Belco90 Belco90 added the chore Changes that affect the build system, CI config or other changes that don't modify src/test files label Aug 9, 2023
@Belco90 Belco90 requested a review from a team August 9, 2023 11:30
@Belco90 Belco90 self-assigned this Aug 9, 2023
@Belco90 Belco90 merged commit affbd5a into main Aug 10, 2023
@Belco90 Belco90 deleted the migrate-to-swc-jest branch August 10, 2023 08:33
@github-actions
Copy link

🎉 This PR is included in version 6.0.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
chore Changes that affect the build system, CI config or other changes that don't modify src/test files released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants