Files
gemini-cli/packages/cli/src/ui/components/__snapshots__/RewindConfirmation.test.tsx.snap

54 lines
5.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`RewindConfirmation > renders correctly with stats 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────╮
│ │
│ Confirm Rewind │
│ │
│ ┌──────────────────────────────────────────────────────────────────────────┐ │
│ │ File: test.ts │ │
│ │ Lines added: 10 Lines removed: 5 │ │
│ │ │ │
│ │ Rewinding does not affect files edited manually or by the shell tool. │ │
│ └──────────────────────────────────────────────────────────────────────────┘ │
│ │
│ Select an action: │
│ │
│ ● 1. Rewind conversation and revert code changes │
│ 2. Rewind conversation │
│ 3. Revert code changes │
│ 4. Do nothing (esc) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯"
`;
exports[`RewindConfirmation > renders correctly without stats 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────╮
│ │
│ Confirm Rewind │
│ │
│ No code changes to revert. │
│ │
│ Select an action: │
│ │
│ ● 1. Rewind conversation │
│ 2. Do nothing (esc) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯"
`;
exports[`RewindConfirmation > renders timestamp when provided 1`] = `
"╭──────────────────────────────────────────────────────────────────────────────╮
│ │
│ Confirm Rewind │
│ │
│ No code changes to revert. (just now) │
│ │
│ Select an action: │
│ │
│ ● 1. Rewind conversation │
│ 2. Do nothing (esc) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯"
`;