Skip to content

Commit

Permalink
fix link test
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Jan 2, 2025
1 parent f18ee1a commit 9a94953
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ItemTable/ItemAvailability.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ describe("ItemAvailability", () => {
})
render(<ItemAvailability item={item} />)
expect(screen.getByText("Available by appointment")).toBeInTheDocument()
expect(screen.getByRole("link")).toHaveTextContent(
"Schwarzman Building - Main Reading Room 315"
)
expect(screen.queryByRole("link")).not.toBeInTheDocument()
expect(
screen.queryByText("Schwarzman Building - Main Reading Room 315.", {
exact: false,
Expand Down

0 comments on commit 9a94953

Please sign in to comment.