import * as React from "react";
import { click, screen, render, axe } from "reakit-test-utils";
import DialogSidebar from "..";
test("open dialog", () => {
render();
click(screen.getByText("toggle"));
expect(screen.getByText("sidebar")).toBeVisible();
});
test("a11y", async () => {
const { baseElement } = render();
expect(await axe(baseElement)).toHaveNoViolations();
});