question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

README needs to be updated for user-event

See original GitHub issue

The type method is async, but the documentation doesn’t reflect it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kentcdoddscommented, Dec 18, 2019

Thanks for the tip! Would you like to make a pull request?

0reactions
maheshjagcommented, Dec 23, 2019

@weyert The function is defined as async, so will always return a promise irrespective of whether or not a delay is specified.

Read more comments on GitHub >

github_iconTop Results From Across the Web

user-event v13 - Testing Library
Clicks element , depending on what element is clicked, calling click() can have different side effects. import React from 'react'
Read more >
@testing-library/user-event - npm
Start using @testing-library/user-event in your project by ... TypeScript icon, indicating that this package has built-in type declarations.
Read more >
Do I have to update project version when only README has ...
I'm editing one of my open-source projects on GitHub and I want to replace link (pointing to a demo) in README.md . Do...
Read more >
React-testing-library: fireEvent vs userEvent - mimacom blog
If we want to interact with our components and elements in our tests we should be capable to simulate those interactions, and that's...
Read more >
front-end/node_modules/@testing-library/user-event
Clicks element , depending on what element is it can have different side effects. import React from "react" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found