diff --git a/test/matrix-to-test.js b/test/matrix-to-test.js index 33947703ef..23434a57e2 100644 --- a/test/matrix-to-test.js +++ b/test/matrix-to-test.js @@ -57,6 +57,8 @@ function mockRoom(roomId, members, serverACL) { } }, }, + on: () => undefined, + removeListener: () => undefined, }; }