-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
bugSomething isn't workingSomething isn't workingpinnedPinned for different reasons. Issues with this label won't be flagged as stale by stalebotPinned for different reasons. Issues with this label won't be flagged as stale by stalebotreleasedreleased on @alpha
Description
Also, I've noticed this rule is NOT reporting this case. Is that intentional? 🤔
await waitFor(() => { userEvent.click(button) // reported const a = userEvent.click(button) // NOT reported })
Good catch. It's not intentional, but I detected it when implementing no-unnecessary-act
, so it will be addressed there. I'll make sure to include this case in the tests.
Originally posted by @Belco90 in #363 (comment)
This will be finally addressed separately, after #259 gets released.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpinnedPinned for different reasons. Issues with this label won't be flagged as stale by stalebotPinned for different reasons. Issues with this label won't be flagged as stale by stalebotreleasedreleased on @alpha