You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/ui/vitest.node.config.ts

14 lines
385 B
TypeScript

import { defineConfig } from "vitest/config";
import { resolveDefaultVitestPool } from "../vitest.shared.config.ts";
// Node-only tests for pure logic (no Playwright/browser dependency).
export default defineConfig({
test: {
isolate: true,
pool: resolveDefaultVitestPool(),
testTimeout: 120_000,
include: ["src/**/*.node.test.ts"],
environment: "node",
},
});