mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 22:04:45 +00:00
test: tighten matrix pins summary assertion
This commit is contained in:
@@ -65,10 +65,15 @@ describe("matrix pins actions", () => {
|
||||
|
||||
expect(result.pinned).toEqual(["$a", "$missing"]);
|
||||
expect(result.events).toEqual([
|
||||
expect.objectContaining({
|
||||
eventId: "$a",
|
||||
{
|
||||
attachment: undefined,
|
||||
body: "hello",
|
||||
}),
|
||||
eventId: "$a",
|
||||
msgtype: "m.text",
|
||||
relatesTo: undefined,
|
||||
sender: "@alice:example.org",
|
||||
timestamp: 123,
|
||||
},
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user