Angular unit testing using jest tutorial | Snapshot testing

Описание к видео Angular unit testing using jest tutorial | Snapshot testing

We take a look at the basics of Angular unit testing using jest.
We are basically reusing the same project which we used for jasmine-karma testing    • Angular unit testing using karma and ...  . We take a step by step approach of how to convert the same project to use jest framework for unit testing.

Github url - https://github.com/anuroopjoy/angular...

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
24:10 - expect.assertions
26:21 - Snapshot testing
30:22 - Jest debug in Chrome
32:05 - Jest debug in VSCode
34:20 - Jest in CI

Комментарии

Информация по комментариям в разработке