mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
// Vitest cli config wires the cli test shard.
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createCliVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(["src/cli/**/*.test.ts"], {
|
|
dir: "src/cli",
|
|
env,
|
|
name: "cli",
|
|
passWithNoTests: true,
|
|
});
|
|
}
|
|
|
|
export default createCliVitestConfig();
|