Skip to content

Commit

Permalink
Update test/unit/throw.spec.js
Browse files Browse the repository at this point in the history
Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
  • Loading branch information
JoshuaKGoldberg and voxpelli authored Jun 22, 2024
1 parent 1d7d28b commit d6b4ce3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/unit/throw.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') || [];
Expand Down

0 comments on commit d6b4ce3

Please sign in to comment.