fix: stabilize docs and tests after system event timestamps

This commit is contained in:
Peter Steinberger committed 2026-01-13 03:51:34 +00:00
1 parent 9f1f65f0e3
commit 980f274fc9
6 files changed
+12 -10

No files matched your search

+3 -1
View File
@@ -47,7 +47,9 @@ describe("system events (session routing)", () => {
isNewSession: false,
prefixedBodyBase: "hi",
});
expect(discord).toBe("System: Discord reaction added: ✅\n\nhi");
expect(discord).toMatch(
/^System: \[[^\]]+\] Discord reaction added: ✅\n\nhi$/,
);
expect(peekSystemEvents("discord:group:123")).toEqual([]);
});