mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(matrix): type redaction ledger
This commit is contained in:
@@ -4083,7 +4083,9 @@ describe("matrix monitor handler draft streaming", () => {
|
||||
}
|
||||
await finish();
|
||||
|
||||
const redactedEventIds = redactEventMock.mock.calls.map(([, eventId]) => eventId);
|
||||
const redactedEventIds = mockCalls(redactEventMock, "redactEvent").map(
|
||||
([, eventId]) => eventId,
|
||||
);
|
||||
expect(redactedEventIds.filter((eventId) => eventId === "$draft1")).toHaveLength(
|
||||
priorDisposition === "consumed" ? 1 : 0,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user