Skip to content

Commit

Permalink
fix: add type reference in code example (withastro#7859)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensdomela authored Apr 23, 2024
1 parent dd252cf commit 65359f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/content/docs/en/guides/testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Use Astro’s `getViteConfig()` helper in your [`vitest.config.ts` configuration

```js
// vitest.config.ts
/// <reference types="vitest" />
import { getViteConfig } from 'astro/config';

export default getViteConfig({
Expand Down

0 comments on commit 65359f4

Please sign in to comment.