Criado por James Drummond
mais de 9 anos atrás
|
||
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
Quer criar suas próprias Notas gratuitas com a GoConqr? Saiba mais.