Skip to content

Commit c009fc7

Browse files
committed
fix: remove test for users navlink
1 parent fa0aec1 commit c009fc7

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

site/src/modules/dashboard/Navbar/NavbarView.test.tsx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,6 @@ describe("NavbarView", () => {
5656
expect((templatesLink as HTMLAnchorElement).href).toContain("/templates");
5757
});
5858

59-
it("users nav link has the correct href", async () => {
60-
renderWithAuth(
61-
<NavbarView
62-
proxyContextValue={proxyContextValue}
63-
user={MockUser}
64-
onSignOut={noop}
65-
canViewDeployment
66-
canViewOrganizations
67-
canViewAllUsers
68-
canViewHealth
69-
canViewAuditLog
70-
/>,
71-
);
72-
const deploymentMenu = await screen.findByText("Admin settings");
73-
await userEvent.click(deploymentMenu);
74-
const userLink = await screen.findByText(navLanguage.users);
75-
expect((userLink as HTMLAnchorElement).href).toContain("/users");
76-
});
77-
7859
it("audit nav link has the correct href", async () => {
7960
renderWithAuth(
8061
<NavbarView

0 commit comments

Comments
 (0)