diff --git a/test/components/Popover.spec.ts b/test/components/Popover.spec.ts index b98e22e6..941d466b 100644 --- a/test/components/Popover.spec.ts +++ b/test/components/Popover.spec.ts @@ -9,6 +9,8 @@ describe('Popover', () => { // Props ['with open', { props }], ['with arrow', { props: { ...props, arrow: true } }], + ['with class', { props: { ...props, class: 'shadow-xl' } }], + ['with ui', { props: { ...props, ui: { content: 'shadow-xl' } } }], // Slots ['with default slot', { props, slots: { default: () => 'Default slot' } }], ['with content slot', { props, slots: { content: () => 'Content slot' } }] diff --git a/test/components/Tooltip.spec.ts b/test/components/Tooltip.spec.ts index ae5887c8..f2c2a123 100644 --- a/test/components/Tooltip.spec.ts +++ b/test/components/Tooltip.spec.ts @@ -27,6 +27,8 @@ describe('Tooltip', () => { ['with text', { props }], ['with arrow', { props: { ...props, arrow: true } }], ['with kbds', { props: { ...props, kbds: ['meta', 'K'] } }], + ['with class', { props: { ...props, class: 'text-sm' } }], + ['with ui', { props: { ...props, ui: { content: 'text-sm' } } }], // Slots ['with default slot', { props, slots: { default: () => 'Default slot' } }], ['with content slot', { props, slots: { content: () => 'Content slot' } }] diff --git a/test/components/__snapshots__/Popover-vue.spec.ts.snap b/test/components/__snapshots__/Popover-vue.spec.ts.snap index f3cd1bfe..d54927ac 100644 --- a/test/components/__snapshots__/Popover-vue.spec.ts.snap +++ b/test/components/__snapshots__/Popover-vue.spec.ts.snap @@ -10,6 +10,19 @@ exports[`Popover > renders with arrow correctly 1`] = ` +" +`; + +exports[`Popover > renders with class correctly 1`] = ` +" + + + +
+ +
+ + " `; @@ -51,5 +64,18 @@ exports[`Popover > renders with open correctly 1`] = ` +" +`; + +exports[`Popover > renders with ui correctly 1`] = ` +" + + + +
+ +
+ + " `; diff --git a/test/components/__snapshots__/Popover.spec.ts.snap b/test/components/__snapshots__/Popover.spec.ts.snap index 80cd10d2..61b5d0a6 100644 --- a/test/components/__snapshots__/Popover.spec.ts.snap +++ b/test/components/__snapshots__/Popover.spec.ts.snap @@ -10,6 +10,19 @@ exports[`Popover > renders with arrow correctly 1`] = ` +" +`; + +exports[`Popover > renders with class correctly 1`] = ` +" + + + +
+ +
+ + " `; @@ -51,5 +64,18 @@ exports[`Popover > renders with open correctly 1`] = ` +" +`; + +exports[`Popover > renders with ui correctly 1`] = ` +" + + + +
+ +
+ + " `; diff --git a/test/components/__snapshots__/Tooltip-vue.spec.ts.snap b/test/components/__snapshots__/Tooltip-vue.spec.ts.snap index 2c608e65..e2fd45c4 100644 --- a/test/components/__snapshots__/Tooltip-vue.spec.ts.snap +++ b/test/components/__snapshots__/Tooltip-vue.spec.ts.snap @@ -12,6 +12,22 @@ exports[`Tooltip > renders with arrow correctly 1`] = ` +" +`; + +exports[`Tooltip > renders with class correctly 1`] = ` +" + + + +
+
Tooltip + + +
+
+ + " `; @@ -74,5 +90,21 @@ exports[`Tooltip > renders with text correctly 1`] = ` +" +`; + +exports[`Tooltip > renders with ui correctly 1`] = ` +" + + + +
+
Tooltip + + +
+
+ + " `; diff --git a/test/components/__snapshots__/Tooltip.spec.ts.snap b/test/components/__snapshots__/Tooltip.spec.ts.snap index 9019a052..d7db38c1 100644 --- a/test/components/__snapshots__/Tooltip.spec.ts.snap +++ b/test/components/__snapshots__/Tooltip.spec.ts.snap @@ -12,6 +12,22 @@ exports[`Tooltip > renders with arrow correctly 1`] = ` +" +`; + +exports[`Tooltip > renders with class correctly 1`] = ` +" + + + +
+
Tooltip + + +
+
+ + " `; @@ -74,5 +90,21 @@ exports[`Tooltip > renders with text correctly 1`] = ` +" +`; + +exports[`Tooltip > renders with ui correctly 1`] = ` +" + + + +
+
Tooltip + + +
+
+ + " `;