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

chore: add jest test fast compilation #340

Closed
wants to merge 1 commit into from

Conversation

rileydcampbell
Copy link
Contributor

Summary

Saw the backend team started using speedy web compiler and tested it out for UniswapX Service. Works well!

ts-jest has a 6 - 12 second lag when compiling. This compilation lag gets extra bad if you run jest in watch mode. Instead, we can use swc as a drop-in replacement to reduce the lag to one second.

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@swc/jest 0.2.29 None +17 407 MB kdy1
@swc/core 1.3.101 filesystem, shell, environment +12 407 MB kdy1

@rileydcampbell rileydcampbell deleted the add_speedy_jest_test_compilation_times branch December 19, 2023 18:24
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.

1 participant