Summary

In this chapter, you were presented with the concept of test doubles and how you can use spies to perform behavior checking on your specs.

In the next chapter, we will take a look at how we can use fakes and stubs to replace real dependencies of our specs and speed up their execution.

Get Jasmine JavaScript Testing - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.