Skip to content

feat: Add permissions for links #1407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update NavbarView test
  • Loading branch information
BrunoQuaresma committed May 13, 2022
commit 42ea186ab1e8a253672ea1ffb41284d75df502c9
4 changes: 2 additions & 2 deletions site/src/components/NavbarView/NavbarView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("NavbarView", () => {
}
it("renders content", async () => {
// When
render(<NavbarView user={MockUser} onSignOut={noop} />)
render(<NavbarView user={MockUser} onSignOut={noop} displayAdminDropdown />)

// Then
await screen.findAllByText("Coder", { exact: false })
Expand All @@ -24,7 +24,7 @@ describe("NavbarView", () => {
}

// When
render(<NavbarView user={mockUser} onSignOut={noop} />)
render(<NavbarView user={mockUser} onSignOut={noop} displayAdminDropdown />)

// Then
// There should be a 'B' avatar!
Expand Down