Files
redwoodjs__local-ci/packages/cli/vitest.config.ts
2026-03-13 00:07:29 +02:00

18 lines
512 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
isolate: true,
exclude: ["_/**", "dist/**", "node_modules/**"],
testTimeout: 30_000,
server: {
deps: {
// @actions/workflow-parser imports a JSON file without `with { type: "json" }`,
// which Node 22+ rejects in native ESM. Inlining forces Vite to bundle it,
// and Vite handles JSON imports transparently.
inline: ["@actions/workflow-parser"],
},
},
},
});