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: Migrate to vitest #73

Merged
merged 1 commit into from
May 30, 2024
Merged

chore: Migrate to vitest #73

merged 1 commit into from
May 30, 2024

Conversation

michaeldowseza
Copy link
Member

@michaeldowseza michaeldowseza commented May 18, 2024

Description of changes:
Migrate to vitest - Faster, more modern, less dependencies, esm support.

Comparing previous runs, this is about 30% faster and reduces the time for npm run test from ~15s to ~9s.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

codecov bot commented May 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.16%. Comparing base (57b9bf6) to head (6a0102b).

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #73      +/-   ##
===========================================
- Coverage   100.00%   99.16%   -0.84%     
===========================================
  Files           14       13       -1     
  Lines          443      477      +34     
  Branches       156      167      +11     
===========================================
+ Hits           443      473      +30     
- Misses           0        4       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@michaeldowseza michaeldowseza marked this pull request as ready for review May 22, 2024 16:36
@michaeldowseza michaeldowseza requested a review from a team as a code owner May 22, 2024 16:36
@michaeldowseza michaeldowseza requested review from georgylobko and removed request for a team May 22, 2024 16:36
Copy link

@georgylobko georgylobko left a comment

Choose a reason for hiding this comment

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

Looks good to me

@michaeldowseza michaeldowseza merged commit 9dfb131 into main May 30, 2024
30 checks passed
@michaeldowseza michaeldowseza deleted the vitest branch May 30, 2024 08:59
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