Closed developerasun closed 2 years ago
describe("Add inputs to div integration test", () => {
test("should do", () => {
render(<MockTodo />)
addTask(["wow", "say hello to cat"])
const divElements = screen.getAllByTestId(/divTodoList/i)
expect(divElements.length).toBe(2)
})
})
issue : jest expect(received).toBeInTheDocument not working
in terminal,