fix : correction du composant

This commit is contained in:
2026-02-25 10:36:50 +01:00
parent 480defcd82
commit 67436a0025
2 changed files with 22 additions and 28 deletions

View File

@@ -305,9 +305,9 @@ describe('MalioInput', () => {
it('passes icon size prop to icon component', () => {
const wrapper = mount(InputForTest, {
props: {iconName: 'mdi:key-outline', iconSize: 'text-2xl'},
props: {iconName: 'mdi:key-outline', iconSize: '24'},
})
expect(wrapper.get('[data-test="icon"]').attributes('size')).toBe('text-2xl')
expect(wrapper.get('[data-test="icon"]').attributes('height')).toBe('24')
})
it('applies icon color class', () => {