-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
new ruleNew rule to be included in the pluginNew rule to be included in the pluginreleasedreleased on @beta
Milestone
Description
When testing-library/dom-testing-library#616 gets merged, userEvent will be part of DOM testing library.
We could create rules for events on userEvent that are preferred over their fireEvent counterparts.
Before we start implementing rules, there are some thing we need to clarify first:
-
Kent already mentioned
clickwould be a good candidate, are there any others that could benefit from this rule? I thinkhover,unhovercould also be included in within this rule. -
Should it be one rule for all events, or a rule per event? The latter would allow us to disable/enable specific events... but we could also create a config for it...
Belco90, nickserv and MichaelDeBoey
Metadata
Metadata
Assignees
Labels
new ruleNew rule to be included in the pluginNew rule to be included in the pluginreleasedreleased on @beta