Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to trigger keydown event with custom keyCode #1285

Closed
igor-nabebin opened this issue Jul 31, 2019 · 1 comment
Closed

Unable to trigger keydown event with custom keyCode #1285

igor-nabebin opened this issue Jul 31, 2019 · 1 comment
Assignees
Labels

Comments

@igor-nabebin
Copy link

Version

1.0.0-beta.29

Reproduction link

https://github.com/igor-nabebin/vue-test-utils-jest-example

Steps to reproduce

  1. Clone repo
  2. Run "npm install"
  3. Run "npm run test"

What is expected?

A keydown event with keyCode = 65 is fired, test passed.

What is actually happening?

A keydown event with keyCode = 0 is fired, test failed.

@andrewvasilchuk
Copy link

Encountered the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants