Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from klipstein/master

Fix global usage of sinon in enhance afterEach
  • Loading branch information...
commit 0e28069f019cdae4cefe473a4334ab16bc7e221b 2 parents 54b44ea + b0b6072
@lightsofapollo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sinon-mocha.js
View
2  lib/sinon-mocha.js
@@ -21,7 +21,7 @@ SinonMocha = {
afterEach: function(){
WrapMethod.restoreWrappedMethods();
- sinon.wrapMethod.restore();
+ SinonMocha.sinon.wrapMethod.restore();
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.