diff --git a/src/test-utils/openclaw-test-state.ts b/src/test-utils/openclaw-test-state.ts index 018eebccbdb..a8a8c591296 100644 --- a/src/test-utils/openclaw-test-state.ts +++ b/src/test-utils/openclaw-test-state.ts @@ -66,7 +66,9 @@ function normalizeLabel(value: string | undefined): string { return (value ?? "state").replace(/[^A-Za-z0-9_.-]+/gu, "-").replace(/^-+|-+$/gu, "") || "state"; } -function resolveWindowsHomeEnv(home: string): Pick { +function resolveWindowsHomeEnv( + home: string, +): Partial> { if (process.platform !== "win32") { return {}; } @@ -118,7 +120,7 @@ function resolveLayout( }; } -function scenarioConfig(options: OpenClawTestStateOptions): unknown | undefined { +function scenarioConfig(options: OpenClawTestStateOptions): Record | undefined { const scenario = options.scenario ?? "empty"; if (scenario === "minimal" || scenario === "external-service") { return {};