diff --git a/components/Button/assertions.ts b/components/Button/assertions.ts index f006c5bf..8b40f607 100644 --- a/components/Button/assertions.ts +++ b/components/Button/assertions.ts @@ -26,7 +26,6 @@ export default function assertions( 'text-decoration-line', 'underline', ) - cy }) it('renders variants', () => { diff --git a/components/Button/react/Button.rootstory.tsx b/components/Button/react/Button.rootstory.tsx index 1ea09bdb..56279a0d 100644 --- a/components/Button/react/Button.rootstory.tsx +++ b/components/Button/react/Button.rootstory.tsx @@ -9,7 +9,7 @@ export default ({ href, onClick, }: { disabled?: boolean; href?: string; onClick?: () => void } = {}) => ( -
+
{(Object.keys(CssVariantClassesTable) as ButtonVariants[]).map( (variant) => { return ( @@ -37,26 +37,19 @@ export default ({ return (
{size}