mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
16 lines
569 B
TypeScript
16 lines
569 B
TypeScript
// Vitest embedded agent run config keeps the run subtree in a bounded serial shard.
|
|
import { agentVitestProjectOwners } from "./vitest.agents-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createAgentsEmbeddedRunVitestConfig(env?: Record<string, string | undefined>) {
|
|
const owner = agentVitestProjectOwners.embeddedRun;
|
|
return createScopedVitestConfig(owner.include, {
|
|
dir: owner.dir,
|
|
env,
|
|
fileParallelism: false,
|
|
name: owner.name,
|
|
});
|
|
}
|
|
|
|
export default createAgentsEmbeddedRunVitestConfig();
|