File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
site/src/modules/dashboard/Navbar Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -56,25 +56,6 @@ describe("NavbarView", () => {
56
56
expect ( ( templatesLink as HTMLAnchorElement ) . href ) . toContain ( "/templates" ) ;
57
57
} ) ;
58
58
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
-
78
59
it ( "audit nav link has the correct href" , async ( ) => {
79
60
renderWithAuth (
80
61
< NavbarView
You can’t perform that action at this time.
0 commit comments