Skip to content

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

@bsheps

Description

@bsheps

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions