From cf050597c17438761d5e0c9b30e78cb8d1b250b6 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 53b419b6..cadf7fba 100644 --- a/test/MatrixClientTest.ts +++ b/test/MatrixClientTest.ts @@ -2772,7 +2772,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,