Maintenance: add vitest to project #2934
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
In the past weeks we have been experimenting with moving our test suites to Vitest with good results. We will now start gradually switching our test suites from Jest to Vitest.
As a first step, we should add the package to the project so that in future issues we will be able to target each package in the workspace separately.
Why is this needed?
So that we can move our environment to fully default to ESM rather than using CJS and converting things on the fly when running tests.
Additionally, moving to Vitest will allow us to run our tests in the CI without having to build our TypeScript code first.
Which area does this relate to?
Tests
Solution
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: