mirror of
https://github.com/denoland/deno.git
synced 2024-12-01 16:51:13 -05:00
7c111da5f6
This commit adds support for "Symbol.metadata" which was omitted when adding support for the Decorators Proposal. Closes https://github.com/denoland/deno/issues/22111
11 lines
341 B
TypeScript
11 lines
341 B
TypeScript
// 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");
|
|
},
|
|
);
|