From 265ff452d7edf897842a8d98905a0c0f72e7ea1f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 29 Jul 2019 12:39:44 +0100 Subject: [PATCH] Upgrade mockRoom to implement EventEmitter like mxRoom does Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/matrix-to-test.js | 2 ++ 1 file changed, 2 insertions(+) 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, }; }