async await vs waitForAsync in Angular tests

Publié le: 19 mai 2021
sur la chaîne: Juri Strumpflohner
4,186
58

Angular has various ways to handle asynchronous scenarios when testing your code (be it with Karma or Jest).

In this video we are specifically looking at the deprecated "async" exported from "@angular/core/testing", which has been replaced by the waitForAsync. Given that, one might also wonder, why not use the async/await statement that is native to Angular. Let's explore!


Sur cette page du site, vous pouvez voir la vidéo en ligne async await vs waitForAsync in Angular tests durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Juri Strumpflohner 19 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,186 fois et il a aimé 58 téléspectateurs. Bon visionnage!