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

1.4 Testing Services

In this lesson, I'll show you how to take an existing Angular app and add tests for one of its custom services. We'll see how to inject the service and its dependencies for testing, and how to stub methods in those dependencies with Sinon.