In this tutorial I will show you how to add jest to an angular 17 project.
I will also show you one simple test and how to run it.
Install and create Angular 17 app:
https://youtu.be/Tj7qoKh_cnU
Github Repository:
https://github.com/softwareCantrips/soca10
Timecodes
0:00 - Intro
0:11 - package.json
0:50 - angular.json
0:58 - jest.config.js
1:11 - tsconfig.spec.json
1:27 - setup.jest.ts
1:37 - sum function
1:44 - install jest
1:52 - example test
2:16 - run the test