Skip to content

Conversation

@wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Apr 4, 2025

Vitest has better ESM support than jest and is faster. Running tests 10x on my local machine took 24 seconds with jest, but only 9 seconds with vitest.

Since vitest requires ESM, this PR is built on #506.

Copy link
Contributor

@colincasey colincasey left a comment

Choose a reason for hiding this comment

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

A couple small changes here @wjhsf but overall this looks good. Very impressed with the speed compared to Jest 😄

colincasey
colincasey previously approved these changes Apr 11, 2025
missed during merge
Base automatically changed from wjh/esm-v6 to master April 11, 2025 18:06
@wjhsf wjhsf dismissed colincasey’s stale review April 11, 2025 18:06

The base branch was changed.

@wjhsf wjhsf requested a review from colincasey April 11, 2025 18:11
@colincasey colincasey merged commit d96266e into master Apr 23, 2025
8 of 10 checks passed
@colincasey colincasey deleted the wjh/vitest branch April 23, 2025 19:50
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.

3 participants