How To Unit Test React Router Routes declaration

后端 未结 0 1629
醉话见心
醉话见心 2020-12-16 18:24

I\'m trying to unit test a React component which generate my app\'s Routes declaration for react-router-dom.

My code look like this:



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