summaryrefslogtreecommitdiff
path: root/tests/unit/symbol_test.ts
blob: 54db7f5bae19ede9e229769a419ac6bba89808f1 (plain)
1
2
3
4
5
6
7
8
9
10
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");
  },
);