mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
16 lines
541 B
TypeScript
16 lines
541 B
TypeScript
// Vitest agents support config wires the agents support test shard.
|
|
import { agentVitestProjectOwners } from "./vitest.agents-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createAgentsSupportVitestConfig(env?: Record<string, string | undefined>) {
|
|
const owner = agentVitestProjectOwners.support;
|
|
return createScopedVitestConfig(owner.include, {
|
|
dir: owner.dir,
|
|
env,
|
|
exclude: owner.exclude,
|
|
name: owner.name,
|
|
});
|
|
}
|
|
|
|
export default createAgentsSupportVitestConfig();
|