We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/s/happy-architecture-1crzb7?file=/src/App.test.js
Tests
App
e.target.value
0.8
.80
userEvent.paste should return .80.
userEvent.paste
userEvent.paste returns 0.8 (was somehow cast to a number?).
14.4.3
N/A. Can be reproduced in codesandbox.
This used to work in v13+. Please see repro below. https://codesandbox.io/s/hungry-wildflower-e5o25n?file=/src/App.test.js
v13+
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction example
https://codesandbox.io/s/happy-architecture-1crzb7?file=/src/App.test.js
Prerequisites
Tests
tab and run the testApp
, the rawe.target.value
equals to0.8
(instead of.80
)Expected behavior
userEvent.paste
should return.80
.Actual behavior
userEvent.paste
returns0.8
(was somehow cast to a number?).User-event version
14.4.3
Environment
N/A. Can be reproduced in codesandbox.
Additional context
This used to work in
v13+
. Please see repro below.https://codesandbox.io/s/hungry-wildflower-e5o25n?file=/src/App.test.js
The text was updated successfully, but these errors were encountered: