Reactjs – Not able to test click event in new user-event 14.4.3 testing library in react-testing-library
I am trying to test a simple user click button where the counter will increase from 0 to 1. Here is my counter button import { useState } from "react"; export const Counter = () => { const [counter, setCounter]…