From c953fc9fb7f8b02848d552b3045d3985322ec2f8 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 8 Dec 2022 17:56:53 -0600 Subject: [PATCH] Update casing See https://github.com/matrix-org/matrix-js-sdk/pull/2915#discussion_r1041542066 --- spec/unit/matrix-client.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/unit/matrix-client.spec.ts b/spec/unit/matrix-client.spec.ts index f1cb7a67b..56124449c 100644 --- a/spec/unit/matrix-client.spec.ts +++ b/spec/unit/matrix-client.spec.ts @@ -274,7 +274,7 @@ describe("MatrixClient", function() { describe('timestampToEvent', () => { const roomId = '!room:server.org'; const eventId = "$eventId:example.org"; - const unstableMsc3030Prefix = "/_matrix/client/unstable/org.matrix.msc3030"; + const unstableMSC3030Prefix = "/_matrix/client/unstable/org.matrix.msc3030"; it('should call stable endpoint', async () => { httpLookups = [{ @@ -318,7 +318,7 @@ describe("MatrixClient", function() { }, { method: "GET", path: `/rooms/${encodeURIComponent(roomId)}/timestamp_to_event`, - prefix: unstableMsc3030Prefix, + prefix: unstableMSC3030Prefix, data: { event_id: eventId }, expectQueryParams: { ts: '0', @@ -354,7 +354,7 @@ describe("MatrixClient", function() { { prefix: unstablePrefix }, ] = client.http.authedRequest.mock.calls[1]; expect(unstableMethod).toStrictEqual('GET'); - expect(unstablePrefix).toStrictEqual(unstableMsc3030Prefix); + expect(unstablePrefix).toStrictEqual(unstableMSC3030Prefix); expect(unstablePath).toStrictEqual( `/rooms/${encodeURIComponent(roomId)}/timestamp_to_event`, );