mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
13 lines
439 B
TypeScript
13 lines
439 B
TypeScript
// Vitest agents config wires the agents test shard.
|
|
import { agentsAllTestPatterns } from "./vitest.agents-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createAgentsVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(agentsAllTestPatterns, {
|
|
dir: "src/agents",
|
|
env,
|
|
name: "agents",
|
|
});
|
|
}
|
|
|
|
export default createAgentsVitestConfig();
|