mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 07:11:06 +00:00
21 lines
589 B
TypeScript
21 lines
589 B
TypeScript
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createContractsVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(
|
|
[
|
|
"src/channels/plugins/contracts/**/*.test.ts",
|
|
"src/config/doc-baseline.integration.test.ts",
|
|
"src/config/schema.base.generated.test.ts",
|
|
"src/config/schema.help.quality.test.ts",
|
|
"src/plugins/contracts/**/*.test.ts",
|
|
"test/**/*.test.ts",
|
|
],
|
|
{
|
|
env,
|
|
passWithNoTests: true,
|
|
},
|
|
);
|
|
}
|
|
|
|
export default createContractsVitestConfig();
|