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...
Sur cette page du site, vous pouvez voir la vidéo en ligne Unit Testing Angular With Jasmine: 02. Testing Components durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Brian Kelly Dev 25 septembre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 371 fois et il a aimé 7 téléspectateurs. Bon visionnage!