mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 10:00:00 +00:00
test: route script suites through contracts surface
This commit is contained in:
parent
335b472c37
commit
75b66403be
2 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue