We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c1ba09 + 6a550cc commit d7f825dCopy full SHA for d7f825d
1 file changed
vitest.config.ts
@@ -2,6 +2,10 @@ import { defineConfig } from 'vitest/config';
2
3
export default defineConfig({
4
test: {
5
+ // Several tests spawn slow subprocesses — the CLI tests run `openapi-typescript`, and the
6
+ // generated-output test runs `tsc`. Run in parallel on a contended CI runner these can exceed
7
+ // the 5s default, so give every test more headroom.
8
+ testTimeout: 30000,
9
// Run the type-level assertions (test/types.test-d.ts) as real type checks — not no-op runtime
10
// calls — so the GetRequestBody / schema-compatibility contracts are verified in CI alongside
11
// the runtime suite. Uses tsconfig.test.json because the build tsconfig excludes test/.
0 commit comments