Orchestrata Ultimate › Tests › Reference › scripts › test_serialize_js_ts_ast

Tests reference — tests/scripts/test_serialize_js_ts_ast.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_serialize_js_ts_ast.py

source · 7 tests · 180 lines

Tests for scripts/serialize_js_ts_ast.py — the Node.js AST-serializer wrapper.

Kind Name Line Description
function test_serialize_writes_valid_ast_json_and_forwards_node_stderr 42
function test_serialize_monorepo_flag_accepted 71
function test_serialize_empty_source_dir_still_writes_valid_json 96
function test_serialize_propagates_node_nonzero_exit_and_stderr 118
function test_serialize_missing_node_script_exits_1 141
function test_dispatch_unknown_command_prints_help_and_exits_1 162 The else branch of _dispatch is unreachable through the real
function test_main_requires_a_command 177