[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: remove outdated configuration (#8642)

authored by

Public Profile and committed by
GitHub
(Sep 29, 2025, 11:01 PM +0200) 88e62c75 b2854e1d

+1 -14
+1 -14
docs/guide/index.md
··· 123 123 If you are already using Vite, add `test` property in your Vite config. You'll also need to add a reference to Vitest types using a [triple slash directive](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-types-) at the top of your config file. 124 124 125 125 ```ts [vite.config.ts] 126 - /// <reference types="vitest" /> 127 - import { defineConfig } from 'vite' 128 - 129 - export default defineConfig({ 130 - test: { 131 - // ... 132 - }, 133 - }) 134 - ``` 135 - 136 - The `<reference types="vitest" />` will stop working in the next major update, but you can start migrating to `vitest/config` in Vitest 2.1: 137 - 138 - ```ts [vite.config.ts] 139 126 /// <reference types="vitest/config" /> 140 127 import { defineConfig } from 'vite' 141 128 142 129 export default defineConfig({ 143 130 test: { 144 - // ... Specify options here. 131 + // ... 145 132 }, 146 133 }) 147 134 ```