import * as React from "react"; import { render, screen, axe } from "reakit-test-utils"; import ButtonAsDiv from ".."; test("a11y", async () => { const { baseElement } = render(); expect(await axe(baseElement)).toHaveNoViolations(); }); test("markup", () => { render(); expect(screen.getByRole("button")).toMatchInlineSnapshot(`