From d6b4ce3b01e398248510ed395de78a8eecf282e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20Goldberg=20=E2=9C=A8?= Date: Sat, 22 Jun 2024 19:05:12 -0400 Subject: [PATCH] Update test/unit/throw.spec.js Co-authored-by: Pelle Wessman --- test/unit/throw.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/unit/throw.spec.js b/test/unit/throw.spec.js index 9fb11de6ea..d293fbacc2 100644 --- a/test/unit/throw.spec.js +++ b/test/unit/throw.spec.js @@ -14,13 +14,11 @@ var STATE_FAILED = Runnable.constants.STATE_FAILED; describe('a test that throws', function () { var suite; var runner; - var sandbox; var uncaughtHandlers; beforeEach(function () { suite = new Suite('Suite', 'root'); runner = new Runner(suite); - sandbox = sinon.createSandbox(); // see https://github.com/mochajs/mocha/pull/2983#issuecomment-350428522 uncaughtHandlers = process.listeners('uncaughtException') || [];