async await vs waitForAsync in Angular tests

Pubblicato il: 19 maggio 2021
sul canale di: 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!


In questa pagina del sito puoi guardare il video online async await vs waitForAsync in Angular tests della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Juri Strumpflohner 19 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,186 volte e gli è piaciuto 58 spettatori. Buona visione!