diff --git a/package.json b/package.json index d951485..51b4c8f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "puppeteer": "^2.0.0", "rsvp": "^4.8.2", "serve": "*", - "sinon": "^7.0.0", + "sinon": "^8.0.1", "unexpected": "^11.0.0-4", "unexpected-documentation-site-generator": "^6.0.0", "unexpected-markdown": "^4.0.0" 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() {