![Tests failing with error: SyntaxError: Cannot use import statement outside a module after upgrading to 2.0.0 - react-router-transition Tests failing with error: SyntaxError: Cannot use import statement outside a module after upgrading to 2.0.0 - react-router-transition](https://user-images.githubusercontent.com/5508780/70044327-2aa0d200-15e8-11ea-9b59-5092b4dc8e1c.png)
Tests failing with error: SyntaxError: Cannot use import statement outside a module after upgrading to 2.0.0 - react-router-transition
![Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English](https://miro.medium.com/max/2420/1*w1SbCruWyxLVTjVEf9pyog.png)
Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English
![Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English](https://miro.medium.com/max/2280/1*LQpytWjYEz5Jl88WbF74DA.png)
Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English
![Amazon.com: Mastering React Test-Driven Development: Build rock-solid, well-tested web apps with React, Redux and GraphQL eBook: Irvine, Daniel: Kindle Store Amazon.com: Mastering React Test-Driven Development: Build rock-solid, well-tested web apps with React, Redux and GraphQL eBook: Irvine, Daniel: Kindle Store](https://images-na.ssl-images-amazon.com/images/I/81wPVNgniIL.__BG0,0,0,0_FMpng_AC_UL600_SR486,600_.jpg)
Amazon.com: Mastering React Test-Driven Development: Build rock-solid, well-tested web apps with React, Redux and GraphQL eBook: Irvine, Daniel: Kindle Store
![Why does jest testing break when adding react-router-dom to a react app with create-react-app - Stack Overflow Why does jest testing break when adding react-router-dom to a react app with create-react-app - Stack Overflow](https://i.stack.imgur.com/dlgF2.png)
Why does jest testing break when adding react-router-dom to a react app with create-react-app - Stack Overflow
![How to test <Redirect> from `react-router` with RTL (React Test Library) and JEST | by Ilya Zykin | Medium How to test <Redirect> from `react-router` with RTL (React Test Library) and JEST | by Ilya Zykin | Medium](https://miro.medium.com/max/3492/1*zbEHB14etAbcpBwgT9PDOQ.png)
How to test <Redirect> from `react-router` with RTL (React Test Library) and JEST | by Ilya Zykin | Medium
![Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English Testing in React, Part 6: Real-World Testing with React Testing Library, Jest, Enzyme and Cypress | by Bryn Bennett | JavaScript in Plain English](https://miro.medium.com/max/2624/1*Ww_q-IQbSRHt-YXNx2TmNg.png)