sinon mocking

36 views
Skip to first unread message

ia...@an10.io

unread,
Nov 13, 2017, 12:47:34 PM11/13/17
to Sinon.JS
Hello everyone,

I want to mock a method that will be called, when I request a url. Is there a way mock that method and return a desired value from that method?

thankyou
Reply all
Reply to author
Forward
0 new messages