test(chat): refresh restore guard source-shape assertions (#5224)

This commit is contained in:
Rod Boev authored and nesquena-hermes committed 2026-06-30 03:33:55 +00:00
1 parent 494d137082
commit ae67cd3428
2 files changed
+6 -7

No files matched your search

@@ -123,7 +123,7 @@ def test_settled_restore_and_error_close_only_the_event_source_owner():
assert "function _handleStreamError(source)" in MESSAGES_JS
assert "_closeSource(source);" in restore_body
assert "_closeSource(source);" in error_body
assert "_restoreSettledSession(source)" in event_body
assert "_restoreSettledSession(source, {preserveVisibleOnShorterTerminalSnapshot:true})" in event_body
assert "_handleStreamError(source)" in event_body
assert "_restoreSettledSession())" not in event_body
assert "_handleStreamError();" not in event_body