Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🐕 Simulate user events

License

NotificationsYou must be signed in to change notification settings

testing-library/user-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dog

Fire events the same way the user does


Read The Docs



Build StatusCode CoverageversiondownloadsMIT LicenseAll ContributorsPRs WelcomeCode of ConductDiscord

Watch on GitHubStar on GitHubTweet

The problem

Fromtesting-library/dom-testing-library#107:

[...] it is becoming apparent the need to express user actions on a web pageusing a higher-level abstraction thanfireEvent

The solution

user-event tries to simulate the real events that would happen in the browseras the user interacts with it. For exampleuserEvent.click(checkbox) wouldchange the state of the checkbox.

The more your tests resemble the way your software is used, the moreconfidence they can give you.

Issues

Looking to contribute? Look for theGood First Issue label.

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

See Bugs

💡 Feature Requests

Please file an issue to suggest new features. Vote on feature requests by addinga 👍. This helps maintainers prioritize what to work on.

See Feature Requests

❓ Questions

For questions related to using the library, please visit a support communityinstead of filing an issue on GitHub.

Contributors

We most sincerely thankthe people who make this projectpossible. Contributions of any kind are welcome! 💚

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp