Files
openclaw/vitest.process.config.ts
2026-04-07 15:16:03 +01:00

24 lines
553 B
TypeScript

import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
export function createProcessVitestConfig(env?: Record<string, string | undefined>) {
const config = createScopedVitestConfig(["src/process/**/*.test.ts"], {
dir: "src",
env,
includeOpenClawRuntimeSetup: false,
name: "process",
passWithNoTests: true,
});
return {
...config,
test: {
...config.test,
sequence: {
...config.test?.sequence,
groupOrder: 2,
},
},
};
}
export default createProcessVitestConfig();