diff --git a/packages/studio-server/vitest.config.ts b/packages/studio-server/vitest.config.ts index 269f285ce4..6cbb864626 100644 --- a/packages/studio-server/vitest.config.ts +++ b/packages/studio-server/vitest.config.ts @@ -4,5 +4,8 @@ export default defineConfig({ test: { include: ["src/**/*.test.ts"], environment: "happy-dom", + // Preview tests run the real bundler (~1 s each); in the parallel monorepo run on CI that + // contends for CPU and passes the 5 s default. Same ceiling as the CLI's config. + testTimeout: 20_000, }, });