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

In options, delay value is incorrectly documented as seconds (should be milliseconds) #1174

Open
bsheps opened this issue Oct 31, 2023 · 1 comment
Labels
bug Something isn't working needs assessment This needs to be looked at by a team member

Comments

@bsheps
Copy link

bsheps commented Oct 31, 2023

Reproduction example

See incorrect documentation here:
https://github.com/testing-library/user-event/blob/main/src/options.ts#L40C76-L40C84

Prerequisites

Delay is incorrectly documented as seconds

See https://github.com/testing-library/user-event/blob/main/src/options.ts#L40C76-L40C84

Expected behavior

Delay should be documented as milliseconds.

Actual behavior

Delay is incorrectly documented as seconds.

User-event version

14.5.1

Environment

n/a

Additional context

Added test case to verify delay behavior.

@bsheps bsheps added bug Something isn't working needs assessment This needs to be looked at by a team member labels Oct 31, 2023
@bsheps
Copy link
Author

bsheps commented Oct 31, 2023

Opened PR #1175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs assessment This needs to be looked at by a team member
Projects
None yet
Development

No branches or pull requests

1 participant