Open developerasun opened 2 years ago
test("should render the correct amount of incomplete test", () => { render(<TestingTodoFooter incompleTasks={1}/>) const paragraphElement = screen.getByRole("paragraph") expect(paragraphElement).toBeInTheDocument() })
issue : React testing library couldn't find a paragraph with getByRole method
in terminal,
in codes,