Skip to content

export user-event for svelte #250

Closed
Closed
@macmillen

Description

@macmillen

Like fireEvent it would be useful if the functions from the @testing-library/user-event package would also call await tick underneath the hood to make the tests run reliably and to avoid calling await tick manually.

Propsed solution:
Export a modified version of user-event inside the @testing-library/svelte package like so:

import { userEvent } from "@testing-library/svelte";

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