Test Lazy load component and React Router in ReactJS using Enzyme

前端 未结 0 1550
感动是毒
感动是毒 2021-01-03 06:40

I have the AllRoute component wherein there is all the Route component which is lazy loaded. I want to test whether the Route path is mapped to a specific component(say

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