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/vitest.shared-core.config.ts

16 lines
496 B
TypeScript

import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
import { unitFastTestFiles } from "./vitest.unit-fast-paths.mjs";
export function createSharedCoreVitestConfig(env?: Record<string, string | undefined>) {
return createScopedVitestConfig(["src/shared/**/*.test.ts"], {
dir: "src",
env,
exclude: unitFastTestFiles,
includeOpenClawRuntimeSetup: false,
name: "shared-core",
passWithNoTests: true,
});
}
export default createSharedCoreVitestConfig();