diff --git a/src/gateway/server-methods/chat.abort.test-helpers.ts b/src/gateway/server-methods/chat.abort.test-helpers.ts index 900c69c214e..905bccd0b3d 100644 --- a/src/gateway/server-methods/chat.abort.test-helpers.ts +++ b/src/gateway/server-methods/chat.abort.test-helpers.ts @@ -21,7 +21,7 @@ export function createActiveRun( }; } -export type ChatAbortTestContext = Record & { +type ChatAbortTestContext = Record & { chatAbortControllers: Map>; chatRunBuffers: Map; chatDeltaSentAt: Map; @@ -34,7 +34,7 @@ export type ChatAbortTestContext = Record & { logGateway: { warn: (...args: unknown[]) => void }; }; -export type ChatAbortRespondMock = Mock; +type ChatAbortRespondMock = Mock; export function createChatAbortContext( overrides: Record = {}, diff --git a/src/gateway/test/server-sessions.test-helpers.ts b/src/gateway/test/server-sessions.test-helpers.ts index 577f1824896..6c9c6d24c2f 100644 --- a/src/gateway/test/server-sessions.test-helpers.ts +++ b/src/gateway/test/server-sessions.test-helpers.ts @@ -489,14 +489,12 @@ export function isInternalHookEvent(value: unknown): value is InternalHookEvent } export { - sessionCleanupMocks, bootstrapCacheMocks, sessionHookMocks, beforeResetHookMocks, sessionLifecycleHookMocks, subagentLifecycleHookMocks, beforeResetHookState, - sessionLifecycleHookState, subagentLifecycleHookState, threadBindingMocks, acpRuntimeMocks, diff --git a/src/infra/outbound/message-action-runner.test-helpers.ts b/src/infra/outbound/message-action-runner.test-helpers.ts index 99d59dfda28..51829466241 100644 --- a/src/infra/outbound/message-action-runner.test-helpers.ts +++ b/src/infra/outbound/message-action-runner.test-helpers.ts @@ -60,7 +60,7 @@ export const runDrySend = (params: { type ResolvedTestTarget = { to: string; kind: ChannelDirectoryEntryKind }; -export function normalizeWorkspaceTarget(raw: string): string { +function normalizeWorkspaceTarget(raw: string): string { const trimmed = raw.trim(); if (!trimmed) { return trimmed; @@ -81,7 +81,7 @@ export function normalizeWorkspaceTarget(raw: string): string { return trimmed; } -export function createConfiguredTestPlugin(params: { +function createConfiguredTestPlugin(params: { id: string; isConfigured: (cfg: OpenClawConfig) => boolean; normalizeTarget: (raw: string) => string | undefined;