Skip to content

Commit 715e3c6

Browse files
committed
test: use global.gc() instead of gc()
This change is made for consistency, and to remove an eslint-disable comment. PR-URL: #25012 Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 1395256 commit 715e3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-fs-filehandle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ common.expectWarning({
3131
]
3232
});
3333

34-
gc(); // eslint-disable-line no-undef
34+
global.gc();
3535

3636
setTimeout(() => {}, 10);

0 commit comments

Comments
 (0)