Skip to content

Commit 5d01650

Browse files
committed
Remove unused tests
1 parent 8d656e0 commit 5d01650

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/tests/pages/FormPage/Navigation.test.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ test("navigation shows submit when form is open and no auth required", () => {
1414
expect(submitButton.innerHTML).toBe("Submit");
1515
});
1616

17-
test("submit button does not show submit on a closed form", () => {
18-
const { queryByRole } = render(<Navigation form_state={false} scopes={[]} />, { wrapper: MemoryRouter });
19-
const submitButton = queryByRole("button");
20-
21-
expect(submitButton).toBeNull();
22-
});
23-
2417
test("navigation shows oauth button when form is open and auth is required", () => {
2518
const { getByRole } = render(<Navigation form_state={true} scopes={[OAuthScopes.Identify]} />, { wrapper: MemoryRouter });
2619
const loginButton = getByRole("button");

0 commit comments

Comments
 (0)