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