Skip to content

Commit

Permalink
Remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed May 15, 2023
1 parent 75fd080 commit 1263c82
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions frontend/test/unit/specs/components/v-content-link.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,4 @@ describe("VContentLink", () => {
expect(btn).toHaveAttribute("href")
expect(btn).not.toHaveAttribute("aria-disabled")
})

it("is disabled when there are no results", () => {
options.props.resultsCount = 0
render(VContentLink, options)
const btn = screen.getByRole("link")

expect(btn).not.toHaveAttribute("href")
expect(btn).toHaveAttribute("aria-disabled")
expect(btn.getAttribute("aria-disabled")).toBeTruthy()
})
})

0 comments on commit 1263c82

Please sign in to comment.