EP 13.9 - Angular / Unit Testing / Components

Publié le: 26 décembre 2018
sur la chaîne: jawache
26,361
80

📚 Read the book 👉 https://go.asim.dev/angular-book
🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs
🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees
🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist

The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online.


We can test inputs by just setting values on a components input properties.

We can test outputs by subscribing to an EventEmitters observable and storing the emitted values on local variables.

In combination with the previous lectures and the ability to test inputs and outputs, we should now have all the information we need to test components in Angular.

In the next lecture, we will look at how to test Directives.


Sur cette page du site, vous pouvez voir la vidéo en ligne EP 13.9 - Angular / Unit Testing / Components durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur jawache 26 décembre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 26,361 fois et il a aimé 80 téléspectateurs. Bon visionnage!