diff --git a/packages/components/icon/index.ts b/packages/components/icon/index.ts index 51f21190..0a5c6332 100644 --- a/packages/components/icon/index.ts +++ b/packages/components/icon/index.ts @@ -12,4 +12,4 @@ if (!customElements.get('puik-icon-ce')) { export * from './src/icon' -export default { PuikIcon, PuikIconCe } +export default PuikIcon diff --git a/packages/components/sidebar/test/sidebar-group-item.spec.ts b/packages/components/sidebar/test/sidebar-group-item.spec.ts index acccec75..6df657d2 100644 --- a/packages/components/sidebar/test/sidebar-group-item.spec.ts +++ b/packages/components/sidebar/test/sidebar-group-item.spec.ts @@ -67,16 +67,16 @@ describe('Sidebar tests', () => { expect(getIcon().text()).toBe('store') }) - // it('should render an icon when collapsed', () => { - // const template = ` - // - // - // - // - // ` - // factory(template) - // expect(getIcon().text()).toBe('store') - // }) + it('should render an icon when collapsed', () => { + const template = ` + + + + + ` + factory(template) + expect(getIcon().text()).toBe('store') + }) it('should render as a menu when collapsed', () => { const template = ` diff --git a/packages/components/tooltip/index.ts b/packages/components/tooltip/index.ts index 79b877ff..edd92886 100644 --- a/packages/components/tooltip/index.ts +++ b/packages/components/tooltip/index.ts @@ -12,4 +12,4 @@ if (!customElements.get('puik-tooltip-ce')) { export * from './src/tooltip' -export default { PuikTooltip, PuikTooltipCe } +export default PuikTooltip