test: handle explicit resource management globals

PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
Michaël Zasso 2024-12-21 09:25:55 +01:00
parent 71fdc590b1
commit e61a0cea04
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600

View File

@ -64,6 +64,9 @@ const intrinsics = new Set([
'Atomics',
'WebAssembly',
'Iterator',
'SuppressedError',
'DisposableStack',
'AsyncDisposableStack',
]);
if (global.gc) {