1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/tests/unit/symbol_test.ts

12 lines
341 B
TypeScript
Raw Normal View History

// 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");
},
);