feat(m4c): title screen is emit-only (routing moves to GameFlow)

This commit is contained in:
2026-07-15 04:10:10 -05:00
parent 8d963e8030
commit 6b10b6ea6c
2 changed files with 1 additions and 15 deletions

View File

@@ -38,8 +38,7 @@ func test_up_from_first_wraps_to_last():
func test_new_game_and_quit_emit_their_action():
var t := _title()
# Isolate the signal seam so the test does not actually change scene / quit.
t.menu_activated.disconnect(t._on_menu_activated)
# Title is emit-only now: no internal handler to isolate. Just watch the emit.
watch_signals(t)
t._activate(_index_of(t, &"new_game"))
assert_signal_emitted_with_parameters(t, "menu_activated", [&"new_game"])