20 lines
729 B
TypeScript
20 lines
729 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import { globalSetup } from "./tests/integration/setup.js";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: false,
|
|
environment: "node",
|
|
pool: "forks",
|
|
fileParallelism: false,
|
|
// bun-napi-shim is now auto-installed by @suaveplan/testing-integration's
|
|
// global-setup module (loaded as a side-effect there). No per-consumer
|
|
// wiring needed; this list keeps only the polyfill setup.
|
|
setupFiles: ["./tests/setup/polyfills.ts"],
|
|
include: ["tests/integration/**/*.integration.test.ts"],
|
|
exclude: ["dist/**", "node_modules/**"],
|
|
globalSetup: [globalSetup],
|
|
testTimeout: 60_000,
|
|
},
|
|
});
|