Skip to content

Commit 5172564

Browse files
authored
Run the gc() in long-lived-abort-controller test (#4638)
1 parent b435604 commit 5172564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/fetch/long-lived-abort-controller.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ test('long-lived-abort-controller', async (t) => {
3939

4040
// drain body
4141
await res.text()
42+
43+
// eslint-disable-next-line no-undef
44+
gc()
4245
}
4346

4447
t.assert.strictEqual(emittedWarning, '')

0 commit comments

Comments
 (0)