mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
14 lines
439 B
TypeScript
14 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();
|