Using jest to test react and units ;)
npm install
npm test
npm test:coverage
Naive tests.
For the react examples we test a few things;
- Snapshots of the rendered html
Can we swap mocha for jest? Let's find out.
We still need coverage reports, so let's make sure those are happening.