How to test checkbox in reactjs with Jest

后端 未结 0 419
再見小時候
再見小時候 2020-12-16 17:56

I am trying to test UI in react with jest. My problem is related to checkbox click.

   expect(screen.getByTestId("change-modalityButton")).toBeInThe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题