Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 authored and Franck Romano committed Oct 1, 2019
1 parent ca4b40b commit ccd1409
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 ccd1409

Please sign in to comment.