Skip to content

Commit

Permalink
refactor: remove unneeded describe
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksilva97 committed Oct 14, 2024
1 parent d3cc655 commit c1a1c2c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions test/parallel/test-abortsignal-drop-settled-signals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,13 @@ describe('when there is a long-lived signal', () => {
});
});

describe('when there is a short-lived signal', () => {
it('does not prevent source signal from being GCed', (t, done) => {
runShortLivedSourceSignal(limit, (signalRefs) => {
setImmediate(() => {
const unGCedSignals = [...signalRefs].filter((ref) => ref.deref());
it('does not prevent source signal from being GCed if it is short-lived', (t, done) => {
runShortLivedSourceSignal(limit, (signalRefs) => {
setImmediate(() => {
const unGCedSignals = [...signalRefs].filter((ref) => ref.deref());

t.assert.equal(unGCedSignals, 0);
done();
});
t.assert.equal(unGCedSignals, 0);
done();
});
});
});
Expand Down

0 comments on commit c1a1c2c

Please sign in to comment.