mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-05 14:21:32 +00:00
13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createPluginsVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(["src/plugins/**/*.test.ts"], {
|
|
dir: "src/plugins",
|
|
env,
|
|
name: "plugins",
|
|
passWithNoTests: true,
|
|
});
|
|
}
|
|
|
|
export default createPluginsVitestConfig();
|