Any help is highly appreciated!
I learned a lot about unit testing in Reactjs from this article by @vvo.
Here is a starter kit for testing with Jest
github.com/staticinstance/react-jest-starter-kit
also
http://facebook.github.io/jest/
facebook.github.io/react/docs/test-utils.html
Vincent Voyer
Founder at https://turnshift.app
The react team recommends using shallow rendering to test the structure you output from a render() or any method.
To do so, you can follow my blog post: blog.algolia.com/how-we-unit-test-react-component…
Along with that you can find cool tutorials about react unit testing: https://egghead.io/series/react-testing-cookbook
But then it gets tricky to test for clicks and references because shallow rendering currently do not support them.
It should get better soon.
In the meantime, have a look at airbnb/enzyme which should allow you to do a lot more than only structure testing: http://airbnb.io/enzyme/ and codeheaven.io/testing-react-components-with-enzyme