test: support presence of Temporal global

PR-URL: https://github.com/nodejs/node/pull/61898
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
(cherry picked from commit f59bd6b186)
This commit is contained in:
Michaël Zasso authored and RafaelGSS committed 2026-04-27 07:59:17 -03:00
1 parent 75b8d7a912
commit ece6a17574
1 file changed
+4
+4
View File
@@ -74,6 +74,10 @@ if (global.gc) {
intrinsics.add('gc');
}
if (global.Temporal) {
intrinsics.add('Temporal');
}
// v8 exposes console in the global scope.
intrinsics.add('console');