Angular unit testing using jest tutorial | Snapshot testing

Publicado em: 06 Novembro 2021
no canal de: JS Frameworks
5,977
80

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


Nesta página do site você pode assistir ao vídeo on-line Angular unit testing using jest tutorial | Snapshot testing duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário JS Frameworks 06 Novembro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,977 vezes e gostou 80 espectadores. Boa visualização!