mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
12 lines
776 B
Markdown
12 lines
776 B
Markdown
|
# Astro + [Vitest](https://vitest.dev/) + Container API Example
|
||
|
|
||
|
```sh
|
||
|
npm create astro@latest -- --template container-with-vitest
|
||
|
```
|
||
|
|
||
|
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-vitest)
|
||
|
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/with-vitest)
|
||
|
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/with-vitest/devcontainer.json)
|
||
|
|
||
|
This example showcases Astro working with [Vitest](https://vitest.dev/) and how to test components using the Container API.
|