Skip to content

Incorrect use for act in fireEvent.press #1786

Closed as duplicate of#1787
Closed as duplicate of#1787
@rpopovici

Description

@rpopovici

Describe the bug

At line

you call act with void directive to silence the promise. Why? act is an async function which needs to be awaited.

Expected behavior

Return promise or wait for act and handler to finish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions