import React from "react"; import { render, screen } from "@testing-library/react"; import IssueCell from "./IssueCell"; describe("Issue cell", () => { it("renders --- if total issues count is 0", async () => { render( ); expect(screen.getByText(/---/i)).toBeInTheDocument(); }); });