Unit Testing Angular With Jasmine: 02. Testing Components

Pubblicato il: 25 settembre 2019
sul canale di: 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...


In questa pagina del sito puoi guardare il video online Unit Testing Angular With Jasmine: 02. Testing Components della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Brian Kelly Dev 25 settembre 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 371 volte e gli è piaciuto 7 spettatori. Buona visione!