test(tui): make snapshots independent of local settings

This commit is contained in:
objz committed 2026-09-25 11:22:49 +02:00
1 parent 9d480f8bfb
commit 28c0731478
3 files changed
+12 -3

No files matched your search

@@ -1400,6 +1400,7 @@ mod tests {
#[test]
fn launcher_choices_toggles_and_maintenance_are_interactive() {
let mut state = State::new();
state.config.ui.image_protocol = ImageProtocol::Auto;
state.selected = 2;
state.handle_key(&KeyEvent::from(KeyCode::Enter));
assert_eq!(state.choice_picker, Some(ChoicePicker::ImageProtocol));