React - Jest RTL check if element is not visible

前端 未结 0 443
粉色の甜心
粉色の甜心 2021-01-31 08:11

I have a straight forward react-comp. which I want to test the styling depending on the react state. The comp looks like the following:

React-comp.

const         


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