Initial Commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user