You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing value and modelValue prop, we have similar test in other input components like SInputNumber.
test('it accepts `value` prop',async()=>{constwrapper=mount(SInputNumber,{props: {value: 1}})expect(getInputValue(wrapper.find('.SInputNumber .input'))).toBe('1')})test('it sets value to `null` when nither `value` or `modelValue` is set',async()=>{constwrapper=mount(SInputNumber)expect(getInputValue(wrapper.find('.SInputNumber .input'))).toBe('')})
The text was updated successfully, but these errors were encountered:
It's not yet there.
For testing
value
andmodelValue
prop, we have similar test in other input components likeSInputNumber
.The text was updated successfully, but these errors were encountered: