Files
openclaw/vitest.bundled.config.ts
2026-04-03 10:58:44 +01:00

15 lines
525 B
TypeScript

import {
bundledPluginDependentUnitTestFiles,
unitTestAdditionalExcludePatterns,
} from "./vitest.unit-paths.mjs";
import { createUnitVitestConfigWithOptions } from "./vitest.unit.config.ts";
const bundledUnitExcludePatterns = unitTestAdditionalExcludePatterns.filter(
(pattern) => !bundledPluginDependentUnitTestFiles.includes(pattern),
);
export default createUnitVitestConfigWithOptions(process.env, {
includePatterns: bundledPluginDependentUnitTestFiles,
extraExcludePatterns: bundledUnitExcludePatterns,
});