How can I do Snapshot test if there is a componentDidMount in component?

后端 未结 0 382
一整个雨季
一整个雨季 2021-01-16 17:33

everyone! Recently I\'ve started learning tests to React components. I\'ve got one small component with map (Leaflet)

i         


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