diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-02-06 02:47:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 02:47:10 +0100 |
commit | 28576db10ed1b06e2c68a645cff8027e93dd76dd (patch) | |
tree | 57f2550cc3b6301e3ef45907dbbd7c206dd2e92b /cli/js | |
parent | 1fd4b46dd05cacde08ec2d8575b35512ccfa5d63 (diff) |
refactor: don't expose some ops (#22281)
This commit brings down the number of ops exposed to user
code to 51.
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/40_test.js | 3 |
1 files changed, 1 insertions, 2 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"); } |