openclaw/vitest.native-plugins.config.ts
2026-03-20 09:30:16 +01:00

10 lines
491 B
TypeScript

import { channelTestExclude } from "./vitest.channel-paths.mjs";
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
export default createScopedVitestConfig(["native-plugins/**/*.test.ts"], {
// Channel implementations live under native-plugins/ but are tested by
// vitest.channels.config.ts (pnpm test:channels) which provides
// the heavier mock scaffolding they need.
exclude: channelTestExclude.filter((pattern) => pattern.startsWith("native-plugins/")),
});