Vitest iconAnnouncing Vite+ Alpha: Open source. Unified. Next-gen.
Skip to content
VitestVitest
Main Navigation GuidesAPIConfigBlog
v4.1.5
Releases Notes
Contributing
Team
unreleased
v3.x
v2.x
v1.x
v0.x

English

简体中文

Appearance

English

简体中文
Sidebar Navigation

Config Reference

Config File

include

exclude

includeSource

name

server

deps

runner

benchmark

alias

globals

environment

environmentOptions

watch

watchTriggerPatterns

root

dir

reporters

outputFile

pool

execArgv

vmMemoryLimit

fileParallelism

maxWorkers

testTimeout

hookTimeout

teardownTimeout

silent

setupFiles

provide

globalSetup

forceRerunTriggers

coverage

testNamePattern

ui

open

api

clearMocks

mockReset

restoreMocks

unstubEnvs

unstubGlobals

snapshotFormat

snapshotSerializers

resolveSnapshotPath

allowOnly

passWithNoTests

logHeapUsage

css

maxConcurrency

cache

sequence

tags

strictTags

typecheck

slowTestThreshold

chaiConfig

bail

retry

onConsoleLog

onStackTrace

onUnhandledError

dangerouslyIgnoreUnhandled...

diff

fakeTimers

projects

isolate

includeTaskLocation

snapshotEnvironment

env