This tutorial course will teach you the basics of unit testing Angular using Jasmine and offer simple patterns you can learn from and copy/paste.
Part 2: Testing Components
In this chapter, we test Angular components and learn about toBe and toEqual. We'll also discuss setting up the mock test module and mocking out injected providers.
Resources:
GitHub repo: https://github.com/briankellydev/unit...
Jasmine official docs: https://jasmine.github.io/pages/docs_...
Angular unit testing docs: https://angular.io/guide/testing
Karma config info: http://karma-runner.github.io/4.0/con...
ng-bullet: https://www.npmjs.com/package/ng-bullet
karma-parallel: https://www.npmjs.com/package/karma-p...
На этой странице сайта вы можете посмотреть видео онлайн Unit Testing Angular With Jasmine: 02. Testing Components длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Brian Kelly Dev 25 Сентябрь 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 371 раз и оно понравилось 7 зрителям. Приятного просмотра!