diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/js/40_test.js | 3 | ||||
-rw-r--r-- | cli/tests/unit/ops_test.ts | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cli/js/40_test.js b/cli/js/40_test.js index 63dcb3d99..f18cccd98 100644 --- a/cli/js/40_test.js +++ b/cli/js/40_test.js @@ -5,7 +5,6 @@ import { escapeName, withPermissions } from "ext:cli/40_test_common.js"; // TODO(mmastrac): We cannot import these from "ext:core/ops" yet const { - op_op_names, op_register_test_step, op_register_test, op_test_event_step_result_failed, @@ -144,7 +143,7 @@ let opIdHostRecvCtrl = -1; let opNames = null; function populateOpNames() { - opNames = op_op_names(); + opNames = core.opNames(); opIdHostRecvMessage = opNames.indexOf("op_host_recv_message"); opIdHostRecvCtrl = opNames.indexOf("op_host_recv_ctrl"); } diff --git a/cli/tests/unit/ops_test.ts b/cli/tests/unit/ops_test.ts index a1cee04f4..71b66f312 100644 --- a/cli/tests/unit/ops_test.ts +++ b/cli/tests/unit/ops_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -const EXPECTED_OP_COUNT = 58; +const EXPECTED_OP_COUNT = 51; Deno.test(function checkExposedOps() { // @ts-ignore TS doesn't allow to index with symbol |