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
MDN says which is deprecated and read-only, so maybe the problem is just that the documentation example is not widely supported. Following links, it seems that the appropriate non-deprecated property is key, and this passes for me. I'd be happy to submit a doc PR.
Version
1.0.0-beta.29
Reproduction link
https://codesandbox.io/s/8k2z89m41j?fontsize=14
Steps to reproduce
What is expected?
The tests should pass. (The component and tests are copied from https://vue-test-utils.vuejs.org/guides/#testing-key-mouse-and-other-dom-events.)
What is actually happening?
An error: "Cannot assign to read only property 'which' of object '#'"
I ran into this bug while trying to follow the guide to test keyboard events in my component.
The text was updated successfully, but these errors were encountered: