test: replace more uses of global with globalThis

PR-URL: https://github.com/nodejs/node/pull/56712
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
James M Snell 2025-01-22 15:30:30 -08:00 committed by Node.js GitHub Bot
parent 552362a366
commit 97a3a8204c
74 changed files with 246 additions and 242 deletions

View file

@ -18,7 +18,7 @@ let messagesComplete = 0;
function flushPool() {
Buffer.allocUnsafe(Buffer.poolSize - 1);
global.gc();
globalThis.gc();
}
function demoBug(part1, part2) {