23 lines
735 B
TypeScript
23 lines
735 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
/**
|
|
* Integration test config — exercises `SurrealImportStore` against a
|
|
* real SurrealDB testcontainer via `@suaveplan/testing-integration-surrealdb`.
|
|
*
|
|
* Run with `bun run test:integration` (Docker required). The standard
|
|
* `test` / `test:coverage` scripts use `vitest.config.ts` and exclude
|
|
* `tests/integration/**` so the pre-publish coverage gate stays
|
|
* runnable without Docker.
|
|
*/
|
|
export default defineConfig({
|
|
test: {
|
|
globals: false,
|
|
environment: "node",
|
|
pool: "forks",
|
|
include: ["tests/integration/**/*.test.ts"],
|
|
exclude: ["dist/**", "node_modules/**"],
|
|
testTimeout: 60_000,
|
|
hookTimeout: 180_000,
|
|
},
|
|
});
|