File tree Expand file tree Collapse file tree
tests/unit/components/NcCheckboxRadioSwitch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ describe('NcCheckboxRadioSwitch', () => {
114114
115115 // Simulate keyboard spacebar: browser toggles input.checked BEFORE firing change
116116 const input = wrapper . find ( 'input' )
117- const inputEl = input . element as HTMLInputElement
117+ const inputEl = input . element
118118 inputEl . checked = true // Browser would do this before firing change
119119 await input . trigger ( 'change' )
120120
@@ -138,7 +138,7 @@ describe('NcCheckboxRadioSwitch', () => {
138138
139139 // Simulate keyboard spacebar unchecking: browser sets checked=false before change
140140 const input = wrapper . find ( 'input' )
141- const inputEl = input . element as HTMLInputElement
141+ const inputEl = input . element
142142 inputEl . checked = false
143143 await input . trigger ( 'change' )
144144
You can’t perform that action at this time.
0 commit comments