We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83501ba commit 6cabf31Copy full SHA for 6cabf31
components/input/__tests__/index.test.js
@@ -82,9 +82,9 @@ describe('As Form Control', () => {
82
const wrapper = mount(DemoForm, { sync: false })
83
await asyncExpect(() => {
84
wrapper.find('input').element.value = '111'
85
- wrapper.find('input').trigger('change')
+ wrapper.find('input').trigger('input')
86
wrapper.find('textarea').element.value = '222'
87
- wrapper.find('textarea').trigger('change')
+ wrapper.find('textarea').trigger('input')
88
})
89
90
expect(wrapper.find('input').element.value).toBe('111')
0 commit comments