fix : correction du composant
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user