mirror of https://github.com/openclaw/openclaw.git
13 lines
337 B
TypeScript
13 lines
337 B
TypeScript
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();
|