Writing Jasmine tests using tracking properties
Jasmine provides a rich set of tracking properties, meaning every call to a spy (or spied function/object method) can be tracked and exposed using the
calls property of Jasmine spies. We can also track the details of arguments that are passed to the spied function. In this recipe, you will learn how to a track a call(s) to spied function/object method using tracking properties.