mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
75b8d7a912
commit
ece6a17574
1 file changed
+4
@@ -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');
|
||||
|
||||
|
||||
Reference in new issue
Block a user