diff --git a/test/monkeyPatchSinonStackFrames.js b/test/monkeyPatchSinonStackFrames.js index b3bf15a..70097b8 100644 --- a/test/monkeyPatchSinonStackFrames.js +++ b/test/monkeyPatchSinonStackFrames.js @@ -66,16 +66,6 @@ replace(name, sinon); }); - if (sinon.sandbox.create) { - var originalSandboxCreate = sinon.sandbox.create; - sinon.sandbox.create = function() { - var sandbox = originalSandboxCreate.apply(this, arguments); - replace('spy', sandbox); - replace('stub', sandbox); - return sandbox; - }; - } - if (sinon.createSandbox) { var originalCreateSandbox = sinon.createSandbox; sinon.createSandbox = function() {