Skip to content

Move from Karma to Vitest #1211

Open
Open
@matthew-white

Description

@matthew-white

In #671, we started using Vite for the build. However, we still use Vue CLI (webpack) together with Karma for testing. I'm still working through some questions related to Vitest, so I'm filing a separate issue about moving from Karma to Vitest. As part of this issue, we'll be able to remove Vue CLI from the codebase entirely.

Benefits of moving to Vitest:

  • Vue CLI is in maintenance mode.
  • Consistency between build and tests
  • Right now, it feels like build time is reducing the cadence of testing locally for us: even if tests themselves run quickly, it takes some seconds to start them. Moving to Vitest should address that.
  • Better stack traces in testing

Metadata

Metadata

Assignees

Labels

infrastructureChanges to core libraries or setuptestingAutomated tests: integration, unit, e2e

Type

No type

Projects

Status

🕒 backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions