mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: use global.gc() instead of gc()
This change is made for consistency, and to remove an eslint-disable comment. PR-URL: https://github.com/nodejs/node/pull/25012 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
cc7727e03a
commit
5ff8aeb976
1 file changed
+1
-1
@@ -24,6 +24,6 @@ common.expectWarning(
|
||||
common.noWarnCode
|
||||
);
|
||||
|
||||
gc(); // eslint-disable-line no-undef
|
||||
global.gc();
|
||||
|
||||
setTimeout(() => {}, 10);
|
||||
Reference in new issue
Block a user