We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb14e8 commit a45ced8Copy full SHA for a45ced8
docs/user-event/install.mdx
@@ -26,6 +26,16 @@ yarn add --dev @testing-library/user-event
26
</TabItem>
27
</Tabs>
28
29
+Now simply import it in your tests:
30
+
31
+```js
32
+import userEvent from '@testing-library/user-event'
33
34
+// or
35
36
+const {default: userEvent} = require('@testing-library/user-event')
37
+```
38
39
Note that `@testing-library/user-event` requires `@testing-library/dom`.
40
41
If you use one of the
0 commit comments