Learning JavaScript Unit Test Framework - Jestjs by examples
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