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 […]

If you have been using aliases in Webpack, and want to switch over to Babel instead, you can use the┬áBabel Module Resolver Plugin. Then just configure your aliases, such as: […]

I use a few Font Awesome icons in my Atom editor, so I have a global install on my desktop sudo apt-get install fonts-font-awesome