Closed
Description
Hello, I'm using typescript and got error
Property 'value' does not exist on type 'HTMLElement'.ts(2339) any
Here is my test
it('Should write a login', async () => {
const wrapper = shallowMount(LoginForm)
const input = wrapper.find( '[data-test="nameOrEmailInput"]')
await input.setValue('User123')
expect(wrapper.find('input#input-20').element.value).toBe('User123')
})
Metadata
Metadata
Assignees
Labels
No labels