diff --git a/test/test_matrixeventprocessor.ts b/test/test_matrixeventprocessor.ts index dd1a5d2e543b6740a5079750921b3af2626d472d..e5dbf0c9f14582bd47369391de7938d4f568a628 100644 --- a/test/test_matrixeventprocessor.ts +++ b/test/test_matrixeventprocessor.ts @@ -748,7 +748,8 @@ This is the reply`, sender: "@test:localhost", type: "m.room.message", } as IMatrixEvent, mockChannel as any); - expect(result!.timestamp!.getTime()).to.be.equal(TEST_TIMESTAMP); + // NOTE: Due to https://github.com/discordjs/discord.js/issues/3283, the typing is wrong here. + expect(result!.timestamp!).to.be.equal(TEST_TIMESTAMP); }); it("should add field for discord replies", async () => { const processor = createMatrixEventProcessor();