async await vs waitForAsync in Angular tests

Veröffentlicht am: 19 Mai 2021
auf dem Kanal: 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!


Auf dieser Seite können Sie das Online-Video async await vs waitForAsync in Angular tests mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Juri Strumpflohner 19 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,186 Mal angesehen und es wurde von 58 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!