I have a javascript function like the one below
function_name: function(){
var self = this;
$.get('something',{
target : 'something',
param1 : 'somevalue',
})
}
I need to stub $.get function using teaspoon. could I get any snippet to solve using teaspoon or sinon stub
Aucun commentaire:
Enregistrer un commentaire