mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
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:
parent
552362a366
commit
97a3a8204c
74 changed files with 246 additions and 242 deletions
|
@ -18,7 +18,7 @@ let messagesComplete = 0;
|
|||
|
||||
function flushPool() {
|
||||
Buffer.allocUnsafe(Buffer.poolSize - 1);
|
||||
global.gc();
|
||||
globalThis.gc();
|
||||
}
|
||||
|
||||
function demoBug(part1, part2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue