I didn't know snapshot testing was a thing
Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=jfsgSiMwt3U
My Angular course: https://angularstart.com/
I kept coming across the "toMatchSnapshot" matcher when working with Jest tests. This was a method I wasn't used to testing with so I decided to dig into it and find out how it works, and it's pretty great.
Source code: https://github.com/nartc/ngxtension-platform/tree/main/libs/plugin/src/generators/convert-signal-inputs
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Want to build mobile apps with Angular?: https://ionicstart.com
0:00 Introduction
0:56 Using snapshot tests
1:49 TDD with snapshot testing
#angular #jest #testing
- More tutorials: https://modernangular.com
- Follow me on Twitter: https://twitter.com/joshuamorony
Other Videos By Joshua Morony
Tags:
tutorial
tutorials
coding
coding tutorials
angular
angular tutorials
mobile
mobile apps
apps
html5
ios
android
hybrid
web apps
progressive web applications
programming
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture
signals
advanced