We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
userEvent
1 parent bc8a451 commit 61331d9Copy full SHA for 61331d9
docs/user-event/intro.mdx
@@ -64,7 +64,7 @@ itself - e.g. in a `before`/`after` hook - for reasons described in
64
["Avoid Nesting When You're Testing"](https://kentcdodds.com/blog/avoid-nesting-when-youre-testing).
65
66
```js
67
-import userEvent from '@testing-library/user-event'
+import {userEvent} from '@testing-library/user-event'
68
69
// inlining
70
test('trigger some awesome feature when clicking the button', async () => {
@@ -80,7 +80,7 @@ test('trigger some awesome feature when clicking the button', async () => {
80
```
81
82
83
84
85
// setup function
86
function setup(jsx) {
0 commit comments