To test a component using withRouter as a higher order component, you need to pass the WrappedComponent suffix into what you want to test: expect(renderer.created(<MyComponent.WrappedComponent />).toJSON()).toMatchSnapshot() Change the expect, snapshot, […]

First, check that you have java installed: java -version Then add the jenkins repository, and install via APT: wget -q -O – https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add – sudo sh […]

To run a basic test with Selenium, you need a few things installed: node, mocha, and selenium-webdriver. Follow the normal install procedure for those. Mocha is a command line program, […]