Skip to content

Template Unit Tests #4143

@vhscom

Description

@vhscom

Describe the problem

When scaffolding a new project I'd like a way to get started with Unit Testing using Vitest. This follows from the recent introduction of a template option to add Playwright.

Describe the proposed solution

Like with Playright, add an option to add Vitest for unit testing during project scaffolding.

Alternatives considered

Following the README instructions for https://github.com/nickbreaton/vitest-svelte-kit during set-up.

Importance

nice to have

Additional Information

Leaning into Vitest as opposed to Jest will help code created with SvelteKit projects to be more streamlined given an integration with the Vite built pipeline and help eliminate years of potentially inapplicable search results for React- and Vue-based test configurations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions