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

Migrate to Vitest #10145

Open
1 task
aaemnnosttv opened this issue Jan 30, 2025 · 2 comments
Open
1 task

Migrate to Vitest #10145

aaemnnosttv opened this issue Jan 30, 2025 · 2 comments
Assignees
Labels
P1 Medium priority Type: Infrastructure Engineering infrastructure & tooling

Comments

@aaemnnosttv
Copy link
Collaborator

Feature Description

Once #10094 is completed, our dependencies for JS tests will no longer be restricted to our current version of Node JS and so we can migrate to Vitest – a modern Jest compatible testing framework with much better performance and support.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • Vitest should be used as the test runner for JS tests – specifically those run by the current tests:js script
  • A best effort should be made to minimize changes necessary to accomplish the migration (see https://vitest.dev/guide/migration.html#jest)
    • Changes that require substantial effort or changes affecting a large number of files that aren't required for the initial change should be opened as follow-up issues

Implementation Brief

Test Coverage

QA Brief

Changelog entry

@aaemnnosttv aaemnnosttv added P1 Medium priority Type: Infrastructure Engineering infrastructure & tooling labels Jan 30, 2025
@benbowler benbowler self-assigned this Mar 3, 2025
@benbowler
Copy link
Collaborator

Note, we can create a follow up ticket to migrate the E2E tests as well because these use jest to run as well.

@aaemnnosttv
Copy link
Collaborator Author

@benbowler that's the plan, at least once we confirm that we can do that with this issue 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Medium priority Type: Infrastructure Engineering infrastructure & tooling
Projects
None yet
Development

No branches or pull requests

2 participants