mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
14 lines
510 B
TypeScript
14 lines
510 B
TypeScript
// Vitest agents embedded agent config wires the agents embedded agent test shard.
|
|
import { agentsEmbeddedTestPatterns } from "./vitest.agents-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createAgentsEmbeddedVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(agentsEmbeddedTestPatterns, {
|
|
dir: "src/agents",
|
|
env,
|
|
name: "agents-embedded-agent",
|
|
});
|
|
}
|
|
|
|
export default createAgentsEmbeddedVitestConfig();
|