From 65b18168c8019c1895684eda4df49a596a5b1bcd Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 23 Nov 2023 12:49:01 +0000 Subject: [PATCH] Fix test --- test/MatrixClientTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/MatrixClientTest.ts b/test/MatrixClientTest.ts index 0bfc8dbb..8c2607fb 100644 --- a/test/MatrixClientTest.ts +++ b/test/MatrixClientTest.ts @@ -2770,7 +2770,7 @@ describe('MatrixClient', () => { http.when("GET", "/_matrix/client/v3/rooms").respond(200, (path, _content, req) => { expect(path).toEqual(`${hsUrl}/_matrix/client/v1/rooms/${encodeURIComponent(roomId)}/timestamp_to_event`); expect(req.queryParams['dir']).toEqual(dir); - expect(req.queryParams['ts']).toEqual(timestamp.toString()); + expect(req.queryParams['ts']).toEqual(timestamp); return { event_id: eventId,