[Vitest](https://vitest.dev/) is a Vite-native testing framework. ## Usage ```sh npx sv add vitest ``` ## What you get - the relevant packages installed and scripts added to your `package.json` - client/server-aware testing setup for Svelte in your Vite config file - demo tests ## Options ### usages Which test types to use: - `unit` — unit testing - `component` — component testing ```sh npx sv add vitest="usages:unit,component" ```