user-event: .type doesn't work with vue-testing-library

Hi! First of all, thank you for your work on this repo!

I wanted to highlight that the current implementation of .type() isn’t working when used with vue-testing-library.

Not quite sure why yet thou, I believe it has something to do with using fireEvent.change instead of fireEvent.input here. I have passing tests using fireEvent.input, and the minute I change them to use .change, they start failing. Is there any reason to prefer change event over input?

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (16 by maintainers)

Most upvoted comments

I guess this can be closed now 😃