mirror of https://github.com/openclaw/openclaw.git
test: route script suites through contracts surface
This commit is contained in:
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 = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue