refactor: trim gateway test helper exports · openclaw/openclaw@2fbe808
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -21,7 +21,7 @@ export function createActiveRun(
|
21 | 21 | }; |
22 | 22 | } |
23 | 23 | |
24 | | -export type ChatAbortTestContext = Record<string, unknown> & { |
| 24 | +type ChatAbortTestContext = Record<string, unknown> & { |
25 | 25 | chatAbortControllers: Map<string, ReturnType<typeof createActiveRun>>; |
26 | 26 | chatRunBuffers: Map<string, string>; |
27 | 27 | chatDeltaSentAt: Map<string, number>; |
@@ -34,7 +34,7 @@ export type ChatAbortTestContext = Record<string, unknown> & {
|
34 | 34 | logGateway: { warn: (...args: unknown[]) => void }; |
35 | 35 | }; |
36 | 36 | |
37 | | -export type ChatAbortRespondMock = Mock<RespondFn>; |
| 37 | +type ChatAbortRespondMock = Mock<RespondFn>; |
38 | 38 | |
39 | 39 | export function createChatAbortContext( |
40 | 40 | overrides: Record<string, unknown> = {}, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。