70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
15 lines
466 B
TypeScript
15 lines
466 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
publicDir: false,
|
|
test: {
|
|
fileParallelism: !process.env.CI, // Parallel locally for speed & sequential in CI for stability
|
|
globalSetup: ["./src/__e2e__/global-setup.ts"],
|
|
hookTimeout: process.env.CI ? 120_000 : 60_000,
|
|
include: ["src/__e2e__/**/*.spec.ts"],
|
|
reporters: ["dot"],
|
|
setupFiles: ["./src/__e2e__/setup.ts"],
|
|
testTimeout: process.env.CI ? 60_000 : 30_000,
|
|
},
|
|
});
|