We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62c14cb commit ba81d8aCopy full SHA for ba81d8a
packages/vitest/src/config.ts
@@ -2,11 +2,11 @@ import type { ConfigEnv, UserConfig as ViteUserConfig } from 'vite'
2
import type { ProjectConfig } from './types'
3
4
export interface UserConfig extends ViteUserConfig {
5
- test?: ViteUserConfig['test']
+ test?: ViteUserConfig['test'] | undefined
6
}
7
8
export interface UserWorkspaceConfig extends ViteUserConfig {
9
- test?: ProjectConfig
+ test?: ProjectConfig | undefined
10
11
12
// will import vitest declare test in module 'vite'
0 commit comments