diff options
Diffstat (limited to 'cli/tests/unit/ops_test.ts')
-rw-r--r-- | cli/tests/unit/ops_test.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cli/tests/unit/ops_test.ts b/cli/tests/unit/ops_test.ts deleted file mode 100644 index 4a0daa0a5..000000000 --- a/cli/tests/unit/ops_test.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. - -const EXPECTED_OP_COUNT = 15; - -Deno.test(function checkExposedOps() { - // @ts-ignore TS doesn't allow to index with symbol - const core = Deno[Deno.internal].core; - const opNames = Object.keys(core.ops); - - if (opNames.length !== EXPECTED_OP_COUNT) { - throw new Error( - `Expected ${EXPECTED_OP_COUNT} ops, but got ${opNames.length}:\n${ - opNames.join("\n") - }`, - ); - } -}); |