Skip to content
Cynthia (Qingwei) Li edited this page Nov 20, 2015 · 1 revision

Here's a good start to understanding spies and mocks in the Jasmine testing framework:
http://www.htmlgoodies.com/html5/javascript/spy-on-javascript-methods-using-the-jasmine-testing-framework.html#fbid=KDwaUP8vqhV

note: this is in a previous version of jasmine, but provides a good comprehensive outlook on what spies and mocks do.