React conditional rendering component test cases jest

后端 未结 0 1913
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 11:15

Can anyone help me to write a test case for conditional rendering components using jest and enzyme?

{this.state.addingNewContent ?
          

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