Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 2ac4538cbea..18d64444191 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -293,6 +293,13 @@ if (global.PerformanceMeasure) {
knownGlobals.push(global.PerformanceMeasure);
}
+// TODO(@ethan-arrowood): Similar to previous checks, this can be temporary
+// until v16.x is EOL. Once all supported versions have structuredClone we
+// can add this to the list above instead.
+if (global.structuredClone) {
+ knownGlobals.push(global.structuredClone);
+}
+
function allowGlobals(...allowlist) {
knownGlobals = knownGlobals.concat(allowlist);
}