diff options
author | 2025-08-08 23:31:26 +0100 | |
---|---|---|
committer | 2025-08-08 23:31:26 +0100 | |
commit | 5d01650641d8b5e091940b71d9f10b007fa3f49d (patch) | |
tree | d8e14abc209d3c429afa231cfe0f94c2ae25f8f6 | |
parent | Eslint on new changes (diff) |
Remove unused tests
-rw-r--r-- | src/tests/pages/FormPage/Navigation.test.tsx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tests/pages/FormPage/Navigation.test.tsx b/src/tests/pages/FormPage/Navigation.test.tsx index d4556ab..fadea7a 100644 --- a/src/tests/pages/FormPage/Navigation.test.tsx +++ b/src/tests/pages/FormPage/Navigation.test.tsx @@ -14,13 +14,6 @@ test("navigation shows submit when form is open and no auth required", () => { expect(submitButton.innerHTML).toBe("Submit"); }); -test("submit button does not show submit on a closed form", () => { - const { queryByRole } = render(<Navigation form_state={false} scopes={[]} />, { wrapper: MemoryRouter }); - const submitButton = queryByRole("button"); - - expect(submitButton).toBeNull(); -}); - test("navigation shows oauth button when form is open and auth is required", () => { const { getByRole } = render(<Navigation form_state={true} scopes={[OAuthScopes.Identify]} />, { wrapper: MemoryRouter }); const loginButton = getByRole("button"); |