Skip to content

Commit

Permalink
fix: fix checks fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Sep 25, 2023
1 parent b6682c1 commit fc0a2ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/components/icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if (!customElements.get('puik-icon-ce')) {

export * from './src/icon'

export default { PuikIcon, PuikIconCe }
export default PuikIcon
20 changes: 10 additions & 10 deletions packages/components/sidebar/test/sidebar-group-item.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ describe('Sidebar tests', () => {
expect(getIcon().text()).toBe('store')
})

// it('should render an icon when collapsed', () => {
// const template = `
// <puik-sidebar :expanded="false">
// <puik-sidebar-group-item title="group" icon="store">
// </puik-sidebar-group-item>
// </puik-sidebar>
// `
// factory(template)
// expect(getIcon().text()).toBe('store')
// })
it('should render an icon when collapsed', () => {
const template = `
<puik-sidebar :expanded="false">
<puik-sidebar-group-item title="group" icon="store">
</puik-sidebar-group-item>
</puik-sidebar>
`
factory(template)
expect(getIcon().text()).toBe('store')
})

it('should render as a menu when collapsed', () => {
const template = `
Expand Down
2 changes: 1 addition & 1 deletion packages/components/tooltip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if (!customElements.get('puik-tooltip-ce')) {

export * from './src/tooltip'

export default { PuikTooltip, PuikTooltipCe }
export default PuikTooltip

0 comments on commit fc0a2ef

Please sign in to comment.