fix test bug

This commit is contained in:
kevin zhao
2025-11-04 18:09:02 -08:00
parent b2ebd1da7c
commit 950ddd7ae1

View File

@@ -186,6 +186,8 @@ async fn user_shell_command_history_is_persisted_and_shared_with_model() -> anyh
assert_eq!(end_event.exit_code, 0);
assert_eq!(end_event.stdout.trim(), "not-set");
let _ = wait_for_event(&test.codex, |ev| matches!(ev, EventMsg::TaskComplete(_))).await;
let responses = vec![responses::sse(vec![
responses::ev_response_created("resp-1"),
responses::ev_assistant_message("msg-1", "done"),