import { render, screen } from "tests" import Link from "./Link" describe("Section", () => { it("renders", () => { const props = { href: "/" } render({"This is a link"}) expect( screen.getByRole("link", { name: "This is a link" }) ).toBeInTheDocument() }) })