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

Use @swc/jest to speed up tests #721

Merged
merged 9 commits into from
Sep 5, 2024
Merged

Use @swc/jest to speed up tests #721

merged 9 commits into from
Sep 5, 2024

Conversation

richrace
Copy link
Collaborator

@richrace richrace commented Sep 4, 2024

  • Unit tests
  • Integration tests
  • Tweak the npm run tests config
  • Cache node modules properly in CircleCI properly

On Circle CI:

Main:

  • Total time of job for unit tests = 1min 40s
  • Unit tests = 32s
  • Total time of job for integration tests = 4m 29s
  • Integration tests = 1m

This branch (with cached npm modules):

  • Total time of job for unit tests = 31s
  • Unit tests = 4s
  • Total time of job for integration tests = 1m 55s
  • Integration tests = 39s

@richrace richrace marked this pull request as ready for review September 5, 2024 12:49
@richrace richrace merged commit 06f8166 into main Sep 5, 2024
14 checks passed
@richrace richrace deleted the speed-up-jest-tests branch September 5, 2024 13:15
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