Files
suaveplan/packages/api-stack/api/api-plugin-import/vitest.config.ts
2026-05-27 23:29:53 +01:00

15 lines
704 B
TypeScript

import { createTestConfig } from "@suaveplan/testing/config";
export default createTestConfig({
testTimeout: 10_000,
// Integration tests live under `tests/integration/**` and require a
// real SurrealDB testcontainer; they ship behind the separate
// `test:integration` script (`vitest.integration.config.ts`) so the
// standard pre-publish gate does not require Docker.
additionalExcludes: ["tests/integration/**"],
// Coverage measures only the in-process unit suite. The integration
// round-trip exercises the same code paths through a real database
// and would double-count branches on the SurrealImportStore.
additionalCoverageExcludes: ["tests/**"],
});