diff --git a/test/test_matrixcommandhandler.ts b/test/test_matrixcommandhandler.ts index 9dc34cd85234f5506fb5055d79c9035cc0b26f0f..6e51c986d25de90a9c2e8f49583ac4409cc1ee7d 100644 --- a/test/test_matrixcommandhandler.ts +++ b/test/test_matrixcommandhandler.ts @@ -48,6 +48,9 @@ function createCH(opts: any = {}, shouldBeJoined = true) { throw new Error("Test failed matrix bridge"); } }, + RoomCountLimitReached: async () => { + return !!opts.roomCountLimitReached; + }, UnbridgeChannel: async () => { if (opts.failUnbridge) { throw new Error("Test failed unbridge");