diff --git a/test/components/Tabs.spec.ts b/test/components/Tabs.spec.ts index 6473ec07..cdd56326 100644 --- a/test/components/Tabs.spec.ts +++ b/test/components/Tabs.spec.ts @@ -5,7 +5,9 @@ import ComponentRender from '../component-render' describe('Tabs', () => { const items = [{ label: 'Tab1', - icon: 'i-heroicons-home', + avatar: { + src: 'https://avatars.githubusercontent.com/u/739984?v=4' + }, content: 'This is the content shown for Tab1' }, { label: 'Tab2', diff --git a/test/components/__snapshots__/Tabs.spec.ts.snap b/test/components/__snapshots__/Tabs.spec.ts.snap index 5f19908a..84ab3e6b 100644 --- a/test/components/__snapshots__/Tabs.spec.ts.snap +++ b/test/components/__snapshots__/Tabs.spec.ts.snap @@ -3,7 +3,7 @@ exports[`Tabs > renders with class correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -14,7 +14,7 @@ exports[`Tabs > renders with class correctly 1`] = ` exports[`Tabs > renders with content slot correctly 1`] = ` "
-
+
Content slot
@@ -25,7 +25,7 @@ exports[`Tabs > renders with content slot correctly 1`] = ` exports[`Tabs > renders with custom slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -47,7 +47,7 @@ exports[`Tabs > renders with default slot correctly 1`] = ` exports[`Tabs > renders with defaultValue correctly 1`] = ` "
-
+
And, this is the content for Tab2
@@ -58,7 +58,7 @@ exports[`Tabs > renders with defaultValue correctly 1`] = ` exports[`Tabs > renders with items correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -69,7 +69,7 @@ exports[`Tabs > renders with items correctly 1`] = ` exports[`Tabs > renders with label slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -91,7 +91,7 @@ exports[`Tabs > renders with leading slot correctly 1`] = ` exports[`Tabs > renders with modelValue correctly 1`] = ` "
-
+
And, this is the content for Tab2
@@ -102,7 +102,7 @@ exports[`Tabs > renders with modelValue correctly 1`] = ` exports[`Tabs > renders with orientation vertical correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -113,7 +113,7 @@ exports[`Tabs > renders with orientation vertical correctly 1`] = ` exports[`Tabs > renders with trailing slot correctly 1`] = ` "
-
+
This is the content shown for Tab1
@@ -124,7 +124,7 @@ exports[`Tabs > renders with trailing slot correctly 1`] = ` exports[`Tabs > renders with ui correctly 1`] = ` "
-
+
This is the content shown for Tab1