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