Who needs Jest anyways?
Keeping things simple and lean
npm run test:snapshot
to generate new snapshots!npm run test
for a regular testnpm run test:watch
watch your project for changes to test files and the program files that they covernpm run test:100
for a test with code coveragenpm run test:report
to see the open coverage report in a browser windowThere are various problems with Jest:
stdout
and stderr
are output of out sync facebook/jest#6718
useStderr
option)](https://github.com/facebook/jest#5281 (patchable with useStderr/issues/)option)jest-circus
runner)
beforeAll
do not prevent execution of tests -> facebook/jest#2713, facebook/jest#6695
afterAll
are not exposed -> facebook/jest#66926692only
and skip
are not fully respected -> facebook/jest#41664166