diff --git a/test/components/Slideover.spec.ts b/test/components/Slideover.spec.ts index 17272441..cbb0a670 100644 --- a/test/components/Slideover.spec.ts +++ b/test/components/Slideover.spec.ts @@ -12,6 +12,7 @@ describe('Slideover', () => { ['with bottom side', { props: { open: true, portal: false, side: 'bottom' as const, title: 'Title', description: 'Description' } }], ['without overlay', { props: { open: true, portal: false, overlay: false, title: 'Title', description: 'Description' } }], ['without transition', { props: { open: true, portal: false, transition: false, title: 'Title', description: 'Description' } }], + ['without close', { props: { open: true, portal: false, close: null, title: 'Title', description: 'Description' } }], ['with class', { props: { open: true, portal: false, class: 'bg-gray-50 dark:bg-gray-800' } }], ['with ui', { props: { open: true, portal: false, ui: { close: 'right-2' } } }], ['with default slot', { props: { open: true, portal: false }, slots: { default: () => 'Default slot' } }], diff --git a/test/components/__snapshots__/Slideover.spec.ts.snap b/test/components/__snapshots__/Slideover.spec.ts.snap index 91b95fac..426979a9 100644 --- a/test/components/__snapshots__/Slideover.spec.ts.snap +++ b/test/components/__snapshots__/Slideover.spec.ts.snap @@ -29,7 +29,7 @@ exports[`Slideover > renders with body slot correctly 1`] = `
-