Skip to content

Conversation

y-hsgw
Copy link
Member

@y-hsgw y-hsgw commented Oct 11, 2025

Checks

Changes

  • Updated no-unnecessary-act to resolve user-event calls via resolveToTestingLibraryFn instead of relying on local identifier names.

Context

Fixes #758

@Belco90 Belco90 changed the title fix(no-unnecessary-act): report when userEvent has a different variable name fix(no-unnecessary-act): report userEvent with a different variable name Oct 13, 2025
@Belco90 Belco90 merged commit 164fa0e into main Oct 13, 2025
32 checks passed
@Belco90 Belco90 deleted the fix/no-unnecessary-act branch October 13, 2025 10:59
Copy link

🎉 This PR is included in version 7.13.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no-unnecessary-act: Doesn't report when the variable has a name other than "userEvent"

2 participants