Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Sep 17, 2018
1 parent c7b676a commit 9554470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinon/fake.js
Expand Up @@ -45,7 +45,7 @@ function wrapFunc(f) {
p.callback = callback;
/* eslint-enable no-use-before-define */

return f && f.apply(f, arguments);
return f && f.apply(this, arguments);
};
var p = cleanProxy(spy(fakeInstance));

Expand Down

0 comments on commit 9554470

Please sign in to comment.