Problem: Question What is the best way to do this? What have I tried to do? Not too much, arguments to a function can not be found as an option for quint function . / P> Thanks! You can use it easily. A quick example:
I am trying to check that the arguments for the function are valid or Not the terms of type and whether they are defined / nulled, the reasons for the debate issues are not created. I hope that I want to push different values for these arguments to test outcomes.
var spy = sinon.spy (); Function blog callback (spy); Ok (spy.calledWithMatch (sinon.match.object, sinon.match.array), "will be said with object and array");
No comments:
Post a Comment