Skip to content

Maintenance: add vitest to project #2934

Closed
@dreamorosi

Description

@dreamorosi

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.

Metadata

Metadata

Assignees

Labels

automationThis item relates to automationcompletedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions