Skip to content

Instantly share code, notes, and snippets.

@Clarity-89
Created September 15, 2022 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Clarity-89/6a0ca1fd229d759e9f20b55f598799ea to your computer and use it in GitHub Desktop.
Save Clarity-89/6a0ca1fd229d759e9f20b55f598799ea to your computer and use it in GitHub Desktop.
describe("ListPage", () => {
it("renders without breaking", async () => {
render(<ListPage />);
expect(
await screen.findByRole("heading", { name: "List of items" })
).toBeInTheDocument();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment