Skip to content

no-wait-for-side-effects does not catch returned side effect #351

@zaicevas

Description

@zaicevas

This yields an error:

    await waitFor(() => {
      userEvent.click(screen.getByText('Continue'))
    })

This does not:

    await waitFor(() => userEvent.click(screen.getByText('Continue')))

Is that expected behaviour?

Metadata

Metadata

Assignees

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