mirror of
https://github.com/openai/codex.git
synced 2026-05-01 09:56:37 +00:00
add slash resume (#7302)
`codex resume` isn't that discoverable. Adding it to the slash commands can help
This commit is contained in:
@@ -1185,6 +1185,15 @@ fn slash_exit_requests_exit() {
|
||||
assert_matches!(rx.try_recv(), Ok(AppEvent::ExitRequest));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn slash_resume_opens_picker() {
|
||||
let (mut chat, mut rx, _op_rx) = make_chatwidget_manual();
|
||||
|
||||
chat.dispatch_command(SlashCommand::Resume);
|
||||
|
||||
assert_matches!(rx.try_recv(), Ok(AppEvent::OpenResumePicker));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn slash_undo_sends_op() {
|
||||
let (mut chat, mut rx, _op_rx) = make_chatwidget_manual();
|
||||
|
||||
Reference in New Issue
Block a user