You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors reported by await-fire-event rule are not indicating the fireEvent method name correctly in the message.
Steps to reproduce
test('increments value on click',async()=>{render(App);expect(screen.getByText('Times clicked: 0')).toBeDefined();constbutton=screen.getByText('increment');fireEvent.click(button);expect(screen.getByText('Times clicked: 1')).toBeDefined();});
Error output/screenshots
ESLint configuration
N/A
Rule(s) affected
await-fire-event
Anything else?
No response
Do you want to submit a pull request to fix this bug?