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(workspace): convert jest over to vitest #2817

Merged
merged 10 commits into from
Nov 24, 2022
Merged

Conversation

JoviDeCroock
Copy link
Collaborator

@JoviDeCroock JoviDeCroock commented Nov 22, 2022

Summary

This is very much a work in progress, I have done an initial pass of converting our repo over to vitest from jest.

TODO:

  • find replacement for our moduleNameMapper configuration
  • fix failing tests
  • fix running from a workspace folder
  • optimize performance
  • get typings to work properly

The typings are a bit hard currently due to an exclusion we have in our tsconfig

The performance is now comparable to jest but we are still missing the running tests in parallel so we can add describe.concurrent/... in follow-ups to resolve that.

@JoviDeCroock JoviDeCroock marked this pull request as ready for review November 23, 2022 13:31
@JoviDeCroock JoviDeCroock requested a review from kitten November 23, 2022 13:31
@JoviDeCroock JoviDeCroock merged commit af93ef9 into main Nov 24, 2022
@JoviDeCroock JoviDeCroock deleted the migrate-to-vitest branch November 24, 2022 10:08
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