vuejs / test-utils

Vue Test Utils for Vue 3
https://test-utils.vuejs.org
MIT License
1.04k stars 244 forks source link

Bug: input setValue trigger no more works after upgrade from 2.3.2 to 2.4.3... #2283

Closed sosog closed 9 months ago

sosog commented 11 months ago

I have test where use setValue in vitest (Vue app), it was always worked, but after upgrade version from 2.3.2 to 2.4.3... setValue no more triggers input change, so Vue component can't process instance update of input ref. https://github.com/vuejs/test-utils/pull/2019

cexbrayat commented 11 months ago

Can you provide us a small repro online using https://stackblitz.com/github/vuejs/create-vue-templates/tree/main/typescript-vitest?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts ?

It only takes a few minutes, and we'll be able to take a look

cexbrayat commented 10 months ago

@sosog Didi you manage to make a reproduction or did you solve your issue?

cexbrayat commented 9 months ago

We had no answer from the OP so I'm going to close this.

If someone encounters the same issue, feel free to ping me with a repro and I'll re-open it.