jest-codelab
Learning JavaScript Unit Test Framework - Jestjs by examples
Test
Run test for single file:
npm t -- /Users/ldu020/workspace/github.com/mrdulin/jest-codelab/src/stackoverflow/58820204/index.spec.jsx
Run test for single file with coverage report:
npm t -- --coverage /Users/ldu020/workspace/github.com/mrdulin/jest-codelab/src/stackoverflow/58820204/index.spec.jsx
Run test for all files:
npm test