Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 544 Bytes

File metadata and controls

23 lines (14 loc) · 544 Bytes

Enforces awaiting userEvent calls (@bam.tech/await-user-event)

💼 This rule is enabled in the 🧪 tests config.

🔧 This rule is automatically fixable by the --fix CLI option.

Makes sure calls to userEvent APIs are awaited

Rule details

Examples of incorrect code for this rule:

userEvent.press(button);

Examples of correct code for this rule:

await userEvent.press(button);