Open jaredlockhart opened 8 years ago
We should add some kind of tests to our Javascript.
Find a way to use 'shallow rendering' to test components at the unit test level.
http://facebook.github.io/react/docs/test-utils.html#shallow-rendering
Here's a handy example!
https://github.com/simonsmith/react-component-unit-test
We should add some kind of tests to our Javascript.
Find a way to use 'shallow rendering' to test components at the unit test level.
http://facebook.github.io/react/docs/test-utils.html#shallow-rendering