How do I use sinon.js to mock/spy object mentioned inside the javascript function? The mentioned object makes a method call as well and I need to test if the method is called by that object.How do I use sinon.js to mock/spy object mentio
How do I use sinon.js to mock/spy object mentioned inside the javascript function? The mentioned object makes a method call as well and I need to test if the method is called by that object.How do I use sinon.js to mock/spy object mentio