From 79faee7a67f2cefa2a605aad1fad785b75e459c5 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 13 Jan 2023 18:32:21 +0000 Subject: [PATCH] Add emit so tests don't throw --- spec/unit/crypto.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/unit/crypto.spec.ts b/spec/unit/crypto.spec.ts index 36a746078..4bb5b58ca 100644 --- a/spec/unit/crypto.spec.ts +++ b/spec/unit/crypto.spec.ts @@ -254,6 +254,7 @@ describe("Crypto", function () { sendToDevice: jest.fn(), getKeyBackupVersion: jest.fn(), isGuest: jest.fn(), + emit: jest.fn(), } as unknown as MatrixClient; mockRoomList = {} as unknown as RoomList;