mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 06:41:08 +00:00
test: route script suites through contracts surface
This commit is contained in:
committed by
Peter Steinberger
parent
335b472c37
commit
75b66403be
@@ -2,7 +2,11 @@ import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
||||
|
||||
export function createContractsVitestConfig(env?: Record<string, string | undefined>) {
|
||||
return createScopedVitestConfig(
|
||||
["src/channels/plugins/contracts/**/*.test.ts", "src/plugins/contracts/**/*.test.ts"],
|
||||
[
|
||||
"src/channels/plugins/contracts/**/*.test.ts",
|
||||
"src/plugins/contracts/**/*.test.ts",
|
||||
"test/scripts/**/*.test.ts",
|
||||
],
|
||||
{
|
||||
env,
|
||||
passWithNoTests: true,
|
||||
|
||||
@@ -41,6 +41,7 @@ export const unitTestAdditionalExcludePatterns = [
|
||||
"src/plugins/contracts/**",
|
||||
...boundaryTestFiles,
|
||||
...bundledPluginDependentUnitTestFiles,
|
||||
"test/scripts/**",
|
||||
];
|
||||
|
||||
const sharedBaseExcludePatterns = [
|
||||
|
||||
Reference in New Issue
Block a user