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!
На этой странице сайта вы можете посмотреть видео онлайн async await vs waitForAsync in Angular tests длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Juri Strumpflohner 19 Май 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,186 раз и оно понравилось 58 зрителям. Приятного просмотра!