From ddd9b471a213f139e321b07a004ae58950c57225 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Fri, 17 May 2024 15:50:03 +0200 Subject: [PATCH] Review changes --- ...onent-test.tsx => InteractiveAuthEntryComponents-test.tsx} | 4 +--- ....tsx.snap => InteractiveAuthEntryComponents-test.tsx.snap} | 0 2 files changed, 1 insertion(+), 3 deletions(-) rename test/components/views/auth/{InteractiveAuthEntryComponent-test.tsx => InteractiveAuthEntryComponents-test.tsx} (98%) rename test/components/views/auth/__snapshots__/{InteractiveAuthEntryComponent-test.tsx.snap => InteractiveAuthEntryComponents-test.tsx.snap} (100%) diff --git a/test/components/views/auth/InteractiveAuthEntryComponent-test.tsx b/test/components/views/auth/InteractiveAuthEntryComponents-test.tsx similarity index 98% rename from test/components/views/auth/InteractiveAuthEntryComponent-test.tsx rename to test/components/views/auth/InteractiveAuthEntryComponents-test.tsx index 9cd541df2ef..e6e3e1383e3 100644 --- a/test/components/views/auth/InteractiveAuthEntryComponent-test.tsx +++ b/test/components/views/auth/InteractiveAuthEntryComponents-test.tsx @@ -1,5 +1,4 @@ /* - * * Copyright 2024 The Matrix.org Foundation C.I.C. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,7 +12,6 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * / */ import React from "react"; @@ -47,7 +45,7 @@ describe("", () => { expect(container).toMatchSnapshot(); }); - test("should clear the requested state when the button tooltip is hided", async () => { + test("should clear the requested state when the button tooltip is hidden", async () => { renderIdentityAuth(); // After a click on the resend button, the button should display the resent label diff --git a/test/components/views/auth/__snapshots__/InteractiveAuthEntryComponent-test.tsx.snap b/test/components/views/auth/__snapshots__/InteractiveAuthEntryComponents-test.tsx.snap similarity index 100% rename from test/components/views/auth/__snapshots__/InteractiveAuthEntryComponent-test.tsx.snap rename to test/components/views/auth/__snapshots__/InteractiveAuthEntryComponents-test.tsx.snap