Skip to content

Commit

Permalink
test: fix up throw.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jun 22, 2024
1 parent d6b4ce3 commit e1aa60d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/throw.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('a test that throws', function () {
uncaughtHandlers.forEach(function (listener) {
process.on('uncaughtException', listener);
});
sinon.restore();
});

describe('non-extensible', function () {
Expand Down Expand Up @@ -183,7 +184,7 @@ describe('a test that throws', function () {
});
suite.addTest(test);
runner = new Runner(suite);
sandbox.stub(runner, 'fail');
sinon.stub(runner, 'fail');

runner.on(EVENT_RUN_END, function() {
try {
Expand Down

0 comments on commit e1aa60d

Please sign in to comment.