added modify step to the auto-release sinon wrapper

This commit is contained in:
Spencer Alger 2014-03-06 14:45:20 -07:00
parent 8ae8f95033
commit 4993386e3a

View file

@ -28,6 +28,8 @@ define(function (require) {
// after each test this list is cleared
toRestore.push(obj);
if (typeof modify === 'function') modify(obj);
return obj;
};
});