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;