Skip to content

Variable: GUARD_TIMEOUT

Documentation / @wtf/project-vitest / config / GUARD_TIMEOUT

const GUARD_TIMEOUT: 30000 = 30_000;

Defined in: packages/project-vitest/src/config.ts:36

The time a test of the root project, the repo’s guards, takes before it fails, by default: 30 seconds, as a package’s. A guard that reads the whole workspace, each tsconfig and each manifest, takes a second or two alone, and more under the load of the run of every project at once, where Vitest’s own 5 seconds would fail it.