Mock Redis object/ methods using sinon


(Sowjanya ) #1

Want to mock a redis method using sinon. Not able to figure out whether it is the right way. Or should I try other methods. Any suggestions please?