mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 14:51:08 +00:00
15 lines
525 B
TypeScript
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,
|
|
});
|