From e92f49a003bd84b593b7cc7501bb4450239bc21a Mon Sep 17 00:00:00 2001 From: Kevin Aleman Date: Wed, 7 Aug 2024 12:27:23 -0600 Subject: [PATCH] ts --- tests/test-data/bridges/messageBridge.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/test-data/bridges/messageBridge.ts b/tests/test-data/bridges/messageBridge.ts index f6f37755e..9f21b37e6 100644 --- a/tests/test-data/bridges/messageBridge.ts +++ b/tests/test-data/bridges/messageBridge.ts @@ -1,4 +1,4 @@ -import type { IMessage } from '../../../src/definition/messages'; +import type { IMessage, Reaction } from '../../../src/definition/messages'; import type { IRoom } from '../../../src/definition/rooms'; import type { IUser } from '../../../src/definition/users'; import { MessageBridge } from '../../../src/server/bridges'; @@ -32,4 +32,12 @@ export class TestsMessageBridge extends MessageBridge { public typing(options: ITypingDescriptor): Promise { throw new Error('Method not implemented.'); } + + public addReaction(_messageId: string, _userId: string, _reaction: Reaction): Promise { + throw new Error('Method not implemented.'); + } + + public removeReaction(_messageId: string, _userId: string, _reaction: Reaction): Promise { + throw new Error('Method not implemented.'); + } }