diff --git a/test/mocks/channel.ts b/test/mocks/channel.ts index ba68309187303133ed360346ba130c2e46c66b6c..d9794702e3d4fe8177ee3ae628037e3d47588440 100644 --- a/test/mocks/channel.ts +++ b/test/mocks/channel.ts @@ -3,6 +3,6 @@ import {MockCollection} from "./collection"; // Mocking TextChannel export class MockChannel { - constructor (public id: string = "", public guild: any = null) { } public members = new MockCollection<string, MockMember>(); + constructor (public id: string = "", public guild: any = null) { } } diff --git a/test/test_matrixroomhandler.ts b/test/test_matrixroomhandler.ts index 343bfb2422189d7b68906a8aa6d58589e89ddd04..36a0e7001b7aabc78fb6f9f2d736cc2502358783 100644 --- a/test/test_matrixroomhandler.ts +++ b/test/test_matrixroomhandler.ts @@ -488,9 +488,9 @@ describe("MatrixRoomHandler", () => { return { joinRoom: () => { return Promise.resolve(); - } + }, }; - } + }, }; const startTime = Date.now(); const MAXTIME = 1000; @@ -514,7 +514,7 @@ describe("MatrixRoomHandler", () => { }, getUserId: () => "@test:localhost", }; - } + }, }; const startTime = Date.now(); const MINTIME = 1000;