mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 12:23:27 +02:00
15 lines
470 B
TypeScript
15 lines
470 B
TypeScript
import { pluginSdkLightTestFiles } from "./vitest.plugin-sdk-paths.mjs";
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createPluginSdkVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(["src/plugin-sdk/**/*.test.ts"], {
|
|
dir: "src",
|
|
env,
|
|
exclude: pluginSdkLightTestFiles,
|
|
name: "plugin-sdk",
|
|
passWithNoTests: true,
|
|
});
|
|
}
|
|
|
|
export default createPluginSdkVitestConfig();
|