mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
24 lines
553 B
TypeScript
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();
|