test(#4800): accept _scheduleRender(parsed) in the token-handler anchor-registry assertion
#4800 changed the token SSE handler's call from _scheduleRender() to _scheduleRender(parsed) (passes the pre-computed parse into the cache — the perf optimization). The slice6 anchor-registry test asserted the literal no-arg call; relaxed to _scheduleRender( so it matches the call regardless of args. Behavior (token handler schedules a render) preserved + improved. Co-authored-by: wlknight
This commit is contained in:
parent
d68afd7862
commit
86c3e67a46
1 changed files with 1 additions and 1 deletions
|
|
@ -1301,7 +1301,7 @@ def test_slice6_live_shadow_feed_wires_anchor_scene_for_visible_order_handoff():
|
|||
assert f"_applyToAnchor('{event_name}'" in _event_listener_body(src, event_name)
|
||||
|
||||
token_body = _event_listener_body(src, "token")
|
||||
assert "_scheduleRender();" in token_body
|
||||
assert "_scheduleRender(" in token_body
|
||||
assert "function _upsertAnchorProcessProse" in src
|
||||
assert "_upsertAnchorProcessProse(displayText" in src
|
||||
reasoning_body = _event_listener_body(src, "reasoning")
|
||||
|
|
|
|||
Loading…
Reference in a new issue