Angular unit testing using jest tutorial | Snapshot testing

preview_player
Показать описание
We take a look at the basics of Angular unit testing using jest.

00:00 - Introduction
00:22 - Setup jest in project
06:04 - Jest overview
07:22 - Jest fn() for Mock
14:27 - Jest expect() single param
16:38 - moduleNameMapper
17:32 - mockReturnValue
18:40 - Test coverage
20:04 - Jest async asserts
21:40 - Watch mode
26:21 - Snapshot testing
30:22 - Jest debug in Chrome
32:05 - Jest debug in VSCode
34:20 - Jest in CI
Рекомендации по теме
welcome to shbcf.ru