* refactor: split smoke and integration test configs into separate CI jobs * fix: move CLA labeling from triage to CLA workflow * fix: install formatters in temp dir to avoid catalog: protocol error * fix: handle 404 when removing labels that don't exist on the PR
16 lines
468 B
TypeScript
16 lines
468 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "node",
|
|
include: ["tests/integration/smoke/**/*.test.ts"],
|
|
// Smoke tests boot real Astro dev servers in beforeAll hooks.
|
|
// Default hookTimeout (10s) is too short -- server startup +
|
|
// migrations + seed can take 30-60s, especially on first run
|
|
// when pnpm build hasn't been cached.
|
|
testTimeout: 30_000,
|
|
hookTimeout: 120_000,
|
|
},
|
|
});
|