"As an experiment, 100 libs were generated and tested using Karma and Jest. Karma took around 15 minutes while Jest finished in only 4 minutes! The tests run in this experiment are identical between the two test runners which means the difference is due to the differences between the two test runners."
- Nrwl Team (Nx founders) 4
jest features
Briebug's Angular-Jest schematics:
https://itnext.io/how-i-do-configure-jest-to-test-my-angular-8-project-2bd84a21d725
Kudos to Tran Son Hoang
"A good snapshot stops a moment from running away."
- Eudora Welty
if the snapshot is not there, jest will create it for you
snapshot testing
6
Sources:
[2] https://github.com/thymikee/jest-preset-angular
[3] https://github.com/briebug/jest-schematic
[4] https://blog.nrwl.io/nrwl-nx-6-3-faster-testing-with-jest-20a8ddb5064
[5] https://izifortune.com/snapshot-testing-angular-applications/
[6] https://github.com/just-jeb/jest-marbles
Additional Info:
https://github.com/jest-community/vscode-jest
https://itnext.io/how-i-do-configure-jest-to-test-my-angular-8-project-2bd84a21d725
https://www.xfive.co/blog/testing-angular-faster-jest/
https://blog.angularindepth.com/integrate-jest-into-an-angular-application-and-library-163b01d977ce
https://itnext.io/how-to-use-jest-in-angular-aka-make-unit-testing-great-again-e4be2d2e92d1