diff --git a/src/chat/chat.service.spec.ts b/src/chat/chat.service.spec.ts index 1384a5dc..d8546573 100644 --- a/src/chat/chat.service.spec.ts +++ b/src/chat/chat.service.spec.ts @@ -2699,6 +2699,9 @@ describe("ChatService direct messages", () => { it("accepts every reaction on the list", async () => { for (const reaction of ChatService.REACTIONS) { + // The list is longer than a second's allowance; the limit has its own + // tests. + rates = {}; await expect(react(reaction)).resolves.toMatchObject({ toggled: true, }); @@ -2711,6 +2714,24 @@ describe("ChatService direct messages", () => { "fire", "wow", "sad", + "thumbsdown", + "skull", + "sob", + "rofl", + "angry", + "thinking", + "eyes", + "hundred", + "target", + "clap", + "pray", + "handshake", + "tada", + "cool", + "salute", + "muscle", + "goat", + "clown", ]); }); diff --git a/src/chat/chat.service.ts b/src/chat/chat.service.ts index e65996cc..60348079 100644 --- a/src/chat/chat.service.ts +++ b/src/chat/chat.service.ts @@ -125,6 +125,24 @@ export class ChatService { "fire", "wow", "sad", + "thumbsdown", + "skull", + "sob", + "rofl", + "angry", + "thinking", + "eyes", + "hundred", + "target", + "clap", + "pray", + "handshake", + "tada", + "cool", + "salute", + "muscle", + "goat", + "clown", ] as const; // Every toggle is a broadcast to the whole room, so this is what keeps one