Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit 100a611

Browse files
committed
test: update snapshots
1 parent adb0f3a commit 100a611

File tree

18 files changed

+161
-160
lines changed

18 files changed

+161
-160
lines changed

src/components/Alert/Alert.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('alert', () => {
1414
['with title', { props }],
1515
['with description', { props: { ...props, description: 'Description' } }],
1616
['with icon', { props: { ...props, icon: 'i-lucide-lightbulb' } }],
17-
['with avatar', { props: { ...props, avatar: { src: 'https://github.com/benjamincanac.png' } } }],
17+
['with avatar', { props: { ...props, avatar: { src: 'https://github.com/vue.png' } } }],
1818
['with actions', { props: { ...props, actions: [{ label: 'Action' }] } }],
1919
['with orientation vertical', { props: { ...props, icon: 'i-lucide-lightbulb', description: 'This is a description', actions: [{ label: 'Action' }], orientation: 'vertical' as const } }],
2020
['with orientation horizontal', { props: { ...props, icon: 'i-lucide-lightbulb', description: 'This is a description', actions: [{ label: 'Action' }], orientation: 'horizontal' as const } }],

src/components/Alert/__snapshots__/Alert.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ exports[`alert > renders with avatar correctly 1`] = `
9696
<img
9797
class="h-full w-full rounded-[inherit] object-cover"
9898
role="img"
99-
src="https://github.com/benjamincanac.png"
99+
src="https://github.com/vue.png"
100100
style="display: none;"
101101
/>
102102
<span

src/components/Badge/Badge.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ describe('badge', () => {
1919
['with leadingIcon', { props: { leadingIcon: 'i-lucide-arrow-left' } }],
2020
['with trailing and icon', { props: { trailing: true, icon: 'i-lucide-arrow-right' } }],
2121
['with trailingIcon', { props: { trailingIcon: 'i-lucide-arrow-right' } }],
22-
['with avatar', { props: { avatar: { src: 'https://github.com/benjamincanac.png' } } }],
23-
['with avatar and leadingIcon', { props: { avatar: { src: 'https://github.com/benjamincanac.png' }, leadingIcon: 'i-lucide-arrow-left' } }],
24-
['with avatar and trailingIcon', { props: { avatar: { src: 'https://github.com/benjamincanac.png' }, trailingIcon: 'i-lucide-arrow-right' } }],
22+
['with avatar', { props: { avatar: { src: 'https://github.com/vue.png' } } }],
23+
['with avatar and leadingIcon', { props: { avatar: { src: 'https://github.com/vue.png' }, leadingIcon: 'i-lucide-arrow-left' } }],
24+
['with avatar and trailingIcon', { props: { avatar: { src: 'https://github.com/vue.png' }, trailingIcon: 'i-lucide-arrow-right' } }],
2525
['with as', { props: { label: 'Badge', as: 'div' } }],
2626
['with class', { props: { label: 'Badge', class: 'rounded-full font-bold' } }],
2727
['with ui', { props: { label: 'Badge', ui: { label: 'font-bold' } } }],

src/components/Badge/__snapshots__/Badge.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ exports[`badge > renders with avatar and trailingIcon correctly 1`] = `
5353
<img
5454
class="h-full w-full rounded-[inherit] object-cover"
5555
role="img"
56-
src="https://github.com/benjamincanac.png"
56+
src="https://github.com/vue.png"
5757
style="display: none;"
5858
/>
5959
<span
@@ -86,7 +86,7 @@ exports[`badge > renders with avatar correctly 1`] = `
8686
<img
8787
class="h-full w-full rounded-[inherit] object-cover"
8888
role="img"
89-
src="https://github.com/benjamincanac.png"
89+
src="https://github.com/vue.png"
9090
style="display: none;"
9191
/>
9292
<span

src/components/CommandPalette/__snapshots__/CommandPalette.test.ts.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@ exports[`commandPalette > renders with labelKey correctly 1`] = `
536536

537537
exports[`commandPalette > renders with loading correctly 1`] = `
538538
"<div dir="ltr" class="flex flex-col min-h-0 min-w-0 divide-y divide-default">
539-
<div class="relative inline-flex items-center [&amp;>input]:h-12"><input type="text" placeholder="Type a command or search..." class="w-full rounded-md border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 transition-colors px-3 py-2 text-sm gap-2 text-highlighted bg-transparent ps-10" autocomplete="off" aria-disabled="false" value=""><span class="absolute inset-y-0 start-0 flex items-center ps-3"><span class="inline-block i-lucide-loader shrink-0 text-dimmed size-5 animate-spin"></span></span>
539+
<div class="relative inline-flex items-center [&amp;>input]:h-12"><input type="text" placeholder="Type a command or search..." class="w-full rounded-md border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 transition-colors px-3 py-2 text-sm gap-2 text-highlighted bg-transparent" autocomplete="off" aria-disabled="false" value="">
540+
<!--v-if-->
540541
<!--v-if-->
541542
</div>
542543
<div role="listbox" tabindex="0" aria-orientation="vertical" aria-multiselectable="false" data-orientation="vertical" class="relative overflow-hidden flex flex-col">

src/components/DropdownMenu/DropdownMenu.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('container', () => {
1717
[{
1818
label: 'My account',
1919
avatar: {
20-
src: 'https://github.com/benjamincanac.png',
20+
src: 'https://github.com/vue.png',
2121
},
2222
type: 'label',
2323
}],

src/components/DropdownMenu/__snapshots__/DropdownMenu.test.ts.snap

Lines changed: 14 additions & 14 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)