Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

1.6 Testing Components

In this lesson, I’ll show you how to take an existing Angular app and add tests for one of its components. You’ll learn how to add some basic unit tests for an existing Angular component using Jasmine, and run them from the command line with Grunt and Karma. Along the way, you’ll see how a component is a bit like a cross between an Angular directive and a web component, and can make the migration path to Angular 2 smoother.

Related Links