mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 10:55:31 -06:00
16 lines
531 B
TypeScript
16 lines
531 B
TypeScript
// Vitest agents tools config wires the agents tools test shard.
|
|
import { agentVitestProjectOwners } from "./vitest.agents-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createAgentsToolsVitestConfig(env?: Record<string, string | undefined>) {
|
|
const owner = agentVitestProjectOwners.tools;
|
|
return createScopedVitestConfig(owner.include, {
|
|
dir: owner.dir,
|
|
env,
|
|
fileParallelism: false,
|
|
name: owner.name,
|
|
});
|
|
}
|
|
|
|
export default createAgentsToolsVitestConfig();
|