mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:38:26 +00:00
fix(test): add missing media dedup state fields to mock contexts
Pre-existing test mocks lacked pendingMessagingMediaUrls and messagingToolSentMediaUrls fields added by the media dedup feature, causing runtime errors in handleToolExecutionEnd. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Peter Steinberger
parent
838259331f
commit
a02bcb3620
@@ -264,6 +264,5 @@ describe("messaging tool media URL tracking", () => {
|
||||
|
||||
expect(ctx.state.messagingToolSentMediaUrls).toHaveLength(0);
|
||||
expect(ctx.state.pendingMessagingMediaUrls.has("tool-m3")).toBe(false);
|
||||
>>>>>>> 018297172 (test(media-dedup): add missing coverage for Discord media dedup wiring)
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user