copy over properties on overwritten methods

This commit is contained in:
Spencer Alger 2014-03-06 14:50:19 -07:00
parent 7bc904ad9e
commit f6b8d74594

View file

@ -32,6 +32,10 @@ define(function (require) {
return obj;
};
_.forOwn(orig, function (val, name) {
sinon[method][name] = val;
});
});
afterEach(function () {