Files
emdash-patch-imageupload/packages/core/vitest.integration.config.ts
kunthawat 2d1be52177 Emdash source with visual editor image upload fix
Fixes:
1. media.ts: wrap placeholder generation in try-catch
2. toolbar.ts: check r.ok, display error message in popover
2026-05-03 10:44:54 +07:00

15 lines
442 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["tests/integration/cli/**/*.test.ts", "tests/integration/client/**/*.test.ts"],
// These tests boot real Astro dev servers in beforeAll hooks.
// Default hookTimeout (10s) is too short -- server startup +
// migrations + seed can take 30-60s.
testTimeout: 30_000,
hookTimeout: 120_000,
},
});