mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-12 06:10:42 -07:00
204 lines
4.4 KiB
Plaintext
204 lines
4.4 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`AskUserDialog > Choice question placeholder > uses default placeholder when not provided 1`] = `
|
|
"Select your preferred language:
|
|
|
|
1. TypeScript
|
|
2. JavaScript
|
|
● 3. Enter a custom value
|
|
|
|
Enter to submit · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 1`] = `
|
|
"Select your preferred language:
|
|
|
|
1. TypeScript
|
|
2. JavaScript
|
|
● 3. Type another language...
|
|
|
|
Enter to submit · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: false) > shows scroll arrows correctly when useAlternateBuffer is false 1`] = `
|
|
"Choose an option
|
|
|
|
▲
|
|
● 1. Option 1
|
|
Description 1
|
|
2. Option 2
|
|
Description 2
|
|
▼
|
|
|
|
Enter to select · ↑/↓ to navigate · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: true) > shows scroll arrows correctly when useAlternateBuffer is true 1`] = `
|
|
"Choose an option
|
|
|
|
● 1. Option 1
|
|
Description 1
|
|
2. Option 2
|
|
Description 2
|
|
3. Option 3
|
|
Description 3
|
|
4. Option 4
|
|
Description 4
|
|
5. Option 5
|
|
Description 5
|
|
6. Option 6
|
|
Description 6
|
|
7. Option 7
|
|
Description 7
|
|
8. Option 8
|
|
Description 8
|
|
9. Option 9
|
|
Description 9
|
|
10. Option 10
|
|
Description 10
|
|
11. Option 11
|
|
Description 11
|
|
12. Option 12
|
|
Description 12
|
|
13. Option 13
|
|
Description 13
|
|
14. Option 14
|
|
Description 14
|
|
15. Option 15
|
|
Description 15
|
|
16. Enter a custom value
|
|
|
|
Enter to select · ↑/↓ to navigate · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Text type questions > renders text input for type: "text" 1`] = `
|
|
"What should we name this component?
|
|
|
|
> e.g., UserProfileCard
|
|
|
|
|
|
Enter to submit · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Text type questions > shows correct keyboard hints for text type 1`] = `
|
|
"Enter the variable name:
|
|
|
|
> Enter your response
|
|
|
|
|
|
Enter to submit · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > Text type questions > shows default placeholder when none provided 1`] = `
|
|
"Enter the database connection string:
|
|
|
|
> Enter your response
|
|
|
|
|
|
Enter to submit · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > allows navigating to Review tab and back 1`] = `
|
|
"← □ Tests │ □ Docs │ ≡ Review →
|
|
|
|
Review your answers:
|
|
|
|
⚠ You have 2 unanswered questions
|
|
|
|
Tests → (not answered)
|
|
Docs → (not answered)
|
|
|
|
Enter to submit · Tab/Shift+Tab to edit answers · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > hides progress header for single question 1`] = `
|
|
"Which authentication method should we use?
|
|
|
|
● 1. OAuth 2.0
|
|
Industry standard, supports SSO
|
|
2. JWT tokens
|
|
Stateless, good for APIs
|
|
3. Enter a custom value
|
|
|
|
Enter to select · ↑/↓ to navigate · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > renders question and options 1`] = `
|
|
"Which authentication method should we use?
|
|
|
|
● 1. OAuth 2.0
|
|
Industry standard, supports SSO
|
|
2. JWT tokens
|
|
Stateless, good for APIs
|
|
3. Enter a custom value
|
|
|
|
Enter to select · ↑/↓ to navigate · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > shows Review tab in progress header for multiple questions 1`] = `
|
|
"← □ Framework │ □ Styling │ ≡ Review →
|
|
|
|
Which framework?
|
|
|
|
● 1. React
|
|
Component library
|
|
2. Vue
|
|
Progressive framework
|
|
3. Enter a custom value
|
|
|
|
Enter to select · ←/→ to switch questions · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > shows keyboard hints 1`] = `
|
|
"Which authentication method should we use?
|
|
|
|
● 1. OAuth 2.0
|
|
Industry standard, supports SSO
|
|
2. JWT tokens
|
|
Stateless, good for APIs
|
|
3. Enter a custom value
|
|
|
|
Enter to select · ↑/↓ to navigate · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > shows progress header for multiple questions 1`] = `
|
|
"← □ Database │ □ ORM │ ≡ Review →
|
|
|
|
Which database should we use?
|
|
|
|
● 1. PostgreSQL
|
|
Relational database
|
|
2. MongoDB
|
|
Document database
|
|
3. Enter a custom value
|
|
|
|
Enter to select · ←/→ to switch questions · Esc to cancel
|
|
"
|
|
`;
|
|
|
|
exports[`AskUserDialog > shows warning for unanswered questions on Review tab 1`] = `
|
|
"← □ License │ □ README │ ≡ Review →
|
|
|
|
Review your answers:
|
|
|
|
⚠ You have 2 unanswered questions
|
|
|
|
License → (not answered)
|
|
README → (not answered)
|
|
|
|
Enter to submit · Tab/Shift+Tab to edit answers · Esc to cancel
|
|
"
|
|
`;
|