Created by James Drummond
over 9 years ago
|
||
Jasmine spies Basically you're looking to mock or stub a given function.You can - check if the function is called.- See what arguments were used- Create a fake version of the function for testing- Test if the function was called- Call through the real function
Want to create your own Notes for free with GoConqr? Learn more.