Unit Testing Angular With Jasmine: 02. Testing Components

Published: 25 September 2019
on channel: Brian Kelly Dev
371
7

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...


On this page of the site you can watch the video online Unit Testing Angular With Jasmine: 02. Testing Components with a duration of hours minute second in good quality, which was uploaded by the user Brian Kelly Dev 25 September 2019, share the link with friends and acquaintances, this video has already been watched 371 times on youtube and it was liked by 7 viewers. Enjoy your viewing!