summaryrefslogtreecommitdiff
path: root/cli/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit')
-rw-r--r--cli/tests/unit/symbol_test.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/unit/symbol_test.ts b/cli/tests/unit/symbol_test.ts
new file mode 100644
index 000000000..54db7f5ba
--- /dev/null
+++ b/cli/tests/unit/symbol_test.ts
@@ -0,0 +1,11 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+import { assert } from "./test_util.ts";
+
+// Test that `Symbol.metadata` is defined. This file can be removed when V8
+// supports `Symbol.metadata` natively.
+
+Deno.test(
+ function symbolMetadataIsDefined() {
+ assert(typeof Symbol.metadata === "symbol");
+ },
+);