# Astro + [Vitest](https://vitest.dev/) Example ``` npm create astro@latest -- --template with-vitest ``` [](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-vitest) [](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/with-vitest) [](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/with-vitest/devcontainer.json) This example showcases Astro working with [Vitest](https://vitest.dev/).