mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-10 13:22:51 -07:00
Co-authored-by: Jacob Richman <jacob314@gmail.com> Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
70 lines
10 KiB
Plaintext
70 lines
10 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`InputPrompt > command search (Ctrl+R when not in shell) > expands and collapses long suggestion via Right/Left arrows > command-search-render-collapsed-match 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ (r:) Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll →
|
|
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
|
|
..."
|
|
`;
|
|
|
|
exports[`InputPrompt > command search (Ctrl+R when not in shell) > expands and collapses long suggestion via Right/Left arrows > command-search-render-expanded-match 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ (r:) Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll ←
|
|
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
|
|
llllllllllllllllllllllllllllllllllllllllllllllllll"
|
|
`;
|
|
|
|
exports[`InputPrompt > command search (Ctrl+R when not in shell) > renders match window and expanded view (snapshots) > command-search-render-collapsed-match 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ (r:) commit │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
git commit -m "feat: add search" in src/app"
|
|
`;
|
|
|
|
exports[`InputPrompt > command search (Ctrl+R when not in shell) > renders match window and expanded view (snapshots) > command-search-render-expanded-match 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ (r:) commit │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
git commit -m "feat: add search" in src/app"
|
|
`;
|
|
|
|
exports[`InputPrompt > image path transformation snapshots > should snapshot collapsed image path 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ > [Image ...reenshot2x.png] │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`InputPrompt > image path transformation snapshots > should snapshot expanded image path when cursor is on it 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ > @/path/to/screenshots/screenshot2x.png │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`InputPrompt > snapshots > should not show inverted cursor when shell is focused 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ > Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`InputPrompt > snapshots > should render correctly in shell mode 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ ! Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`InputPrompt > snapshots > should render correctly in yolo mode 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ * Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|
|
|
|
exports[`InputPrompt > snapshots > should render correctly when accepting edits 1`] = `
|
|
"╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ > Type your message or @path/to/file │
|
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯"
|
|
`;
|