Skip to content

Commit ab1801b

Browse files
cjihrigBethGriggs
authored andcommitted
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 ddff644 commit ab1801b

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
@@ -24,6 +24,6 @@ common.expectWarning(
2424
common.noWarnCode
2525
);
2626

27-
gc(); // eslint-disable-line no-undef
27+
global.gc();
2828

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

0 commit comments

Comments
 (0)