Skip to content

Commit

Permalink
blank commit
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Oct 6, 2023
1 parent 9a83437 commit a8ea6dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ let mocks = {
// this.restore("editUserStub");
// this.restore("getUserStub");
// },

setMock: function(mockKey, targetClass, targetMethod, returnedValue){
this[mockKey] = sinon.stub(targetClass, targetMethod);
this[mockKey].returns(returnedValue);
Expand Down

0 comments on commit a8ea6dc

Please sign in to comment.