diff options
| author | Miguel Solorio <[email protected]> | 2025-07-17 15:51:42 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-17 22:51:42 +0000 |
| commit | 5b7bf74d66645163db14e6f1f7aea1f31d8b5f8a (patch) | |
| tree | 81997804659dc551d9c9cb3fbb9c719166612f33 /packages/cli/src/ui/components/shared/__snapshots__ | |
| parent | 6aac93ee075757fcb0b840012ff0abf0b17feea1 (diff) | |
Add numbers to selection list (#4320)
Diffstat (limited to 'packages/cli/src/ui/components/shared/__snapshots__')
| -rw-r--r-- | packages/cli/src/ui/components/shared/__snapshots__/RadioButtonSelect.test.tsx.snap | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/shared/__snapshots__/RadioButtonSelect.test.tsx.snap b/packages/cli/src/ui/components/shared/__snapshots__/RadioButtonSelect.test.tsx.snap new file mode 100644 index 00000000..aeb4ac16 --- /dev/null +++ b/packages/cli/src/ui/components/shared/__snapshots__/RadioButtonSelect.test.tsx.snap @@ -0,0 +1,47 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`<RadioButtonSelect /> > renders a list of items and matches snapshot 1`] = ` +"● 1. Option 1 + 2. Option 2 + 3. Option 3" +`; + +exports[`<RadioButtonSelect /> > renders a list with >10 items and matches snapshot 1`] = ` +"● 1. Item 1 + 2. Item 2 + 3. Item 3 + 4. Item 4 + 5. Item 5 + 6. Item 6 + 7. Item 7 + 8. Item 8 + 9. Item 9 + 10. Item 10" +`; + +exports[`<RadioButtonSelect /> > renders with numbers hidden and matches snapshot 1`] = ` +"● 1. Option 1 + 2. Option 2 + 3. Option 3" +`; + +exports[`<RadioButtonSelect /> > renders with scroll arrows and matches snapshot 1`] = ` +"▲ +● 1. Item 1 + 2. Item 2 + 3. Item 3 + 4. Item 4 + 5. Item 5 +▼" +`; + +exports[`<RadioButtonSelect /> > renders with special theme display and matches snapshot 1`] = ` +"● 1. Theme A (Light) + 2. Theme B (Dark)" +`; + +exports[`<RadioButtonSelect /> > renders with the second item selected and matches snapshot 1`] = ` +" 1. Option 1 +● 2. Option 2 + 3. Option 3" +`; |
