Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/mobile/src-tauri/tests/ipc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ fn with_app_updating(
let driver = std::thread::spawn(move || {
let outcome = std::panic::catch_unwind(AssertUnwindSafe(|| {
wait_for(|| handle.try_state::<Bridge>().map(|_| ()));
// `setup` manages the updater after the bridge, which publishes its first status: a
// command that needs it, such as `update_status`, fails until then (2026-10-24, CI).
wait_for(|| handle.try_state::<Arc<voltip_mobile_lib::update::PhoneUpdater>>().map(|_| ()));
body(&handle, &webview, &rx);
}));
// Closing the only window ends the mock event loop, so `app.run` below returns.
Expand Down