In this chapter, we will cover:
Writing Jasmine tests using the
spyOn()
method and special matchers for spiesWriting Jasmine tests using tracking properties
Writing Jasmine tests with your own custom spy method
Using
jasmine.any
andjasmine.objectContaining
Writing Jasmine tests to mock the JavaScript timeout functions