joernroeder / piwik-react-router

Piwik analytics component for react-router
https://www.npmjs.org/package/piwik-react-router
MIT License
61 stars 22 forks source link

Add check for NODE_ENV = 'test #26

Closed MrRoyce closed 7 years ago

MrRoyce commented 7 years ago

Don't display the warning message if running tests.

MrRoyce commented 7 years ago

Done. I needed this check because the warning message was breaking my automatic tests/CI.