Closed
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.