@@ -61,6 +61,10 @@ import { createSecretsVitestConfig } from "./vitest/vitest.secrets.config.ts";
6161import { createSharedCoreVitestConfig } from "./vitest/vitest.shared-core.config.ts" ;
6262import { sharedVitestConfig } from "./vitest/vitest.shared.config.ts" ;
6363import { createTasksVitestConfig } from "./vitest/vitest.tasks.config.ts" ;
64+ import {
65+ createToolingDockerVitestConfig ,
66+ toolingDockerTestFiles ,
67+ } from "./vitest/vitest.tooling-docker.config.ts" ;
6468import { createToolingIsolatedVitestConfig } from "./vitest/vitest.tooling-isolated.config.ts" ;
6569import { createToolingVitestConfig } from "./vitest/vitest.tooling.config.ts" ;
6670import { createTuiVitestConfig } from "./vitest/vitest.tui.config.ts" ;
@@ -454,6 +458,7 @@ describe("scoped vitest configs", () => {
454458 const defaultAgentsConfig = createAgentsVitestConfig ( { } ) ;
455459 const defaultPluginsConfig = createPluginsVitestConfig ( { } ) ;
456460 const defaultProcessConfig = createProcessVitestConfig ( { } ) ;
461+ const defaultToolingDockerConfig = createToolingDockerVitestConfig ( { } ) ;
457462 const defaultToolingConfig = createToolingVitestConfig ( { } ) ;
458463 const defaultTuiConfig = createTuiVitestConfig ( { } ) ;
459464 const defaultUiConfig = createUiVitestConfig ( { } ) ;
@@ -475,6 +480,7 @@ describe("scoped vitest configs", () => {
475480 defaultAutoReplyCoreConfig ,
476481 defaultAutoReplyTopLevelConfig ,
477482 defaultAutoReplyReplyConfig ,
483+ defaultToolingDockerConfig ,
478484 defaultToolingConfig ,
479485 ] ) {
480486 expectThreadedNonIsolatedRunner ( config ) ;
@@ -974,10 +980,17 @@ describe("scoped vitest configs", () => {
974980 it ( "keeps tooling tests in their own lane" , ( ) => {
975981 const testConfig = requireTestConfig ( defaultToolingConfig ) ;
976982 expect ( testConfig . include ) . toEqual ( [ "test/**/*.test.ts" , "src/scripts/**/*.test.ts" ] ) ;
983+ expect ( testConfig . exclude ) . toEqual ( expect . arrayContaining ( toolingDockerTestFiles ) ) ;
977984 expect ( testConfig . exclude ) . toContain ( "test/scripts/openclaw-e2e-instance.test.ts" ) ;
978985 expect ( testConfig . include ) . not . toContain ( "src/config/doc-baseline.integration.test.ts" ) ;
979986 } ) ;
980987
988+ it ( "keeps Docker helper tooling tests in their own lane" , ( ) => {
989+ const testConfig = requireTestConfig ( defaultToolingDockerConfig ) ;
990+ expect ( testConfig . include ) . toEqual ( toolingDockerTestFiles ) ;
991+ expect ( testConfig . fileParallelism ) . toBe ( false ) ;
992+ } ) ;
993+
981994 it ( "runs shell helper tooling tests isolated from shared mocks" , ( ) => {
982995 const testConfig = requireTestConfig ( createToolingIsolatedVitestConfig ( { } ) ) ;
983996 expect ( testConfig . include ) . toEqual ( [ "test/scripts/openclaw-e2e-instance.test.ts" ] ) ;
0 commit comments