test(feishu): make fallback dispatch assertion observable · openclaw/openclaw@2fec8b1
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -236,7 +236,7 @@ const readSessionUpdatedAtMock: PluginRuntime["channel"]["session"]["readSession
|
236 | 236 | const resolveStorePathMock: PluginRuntime["channel"]["session"]["resolveStorePath"] = (params) => |
237 | 237 | mockResolveStorePath(params); |
238 | 238 | const resolveEnvelopeFormatOptionsMock = () => ({}); |
239 | | -const finalizeInboundContextMock = (ctx: Record<string, unknown>) => ctx; |
| 239 | +const finalizeInboundContextMock = vi.fn((ctx: Record<string, unknown>) => ctx); |
240 | 240 | const withReplyDispatcherMock = async ({ |
241 | 241 | run, |
242 | 242 | }: Parameters<PluginRuntime["channel"]["reply"]["withReplyDispatcher"]>[0]) => await run(); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。