Skip to content

Commit e2dabe5

Browse files
committed
Revert "docs: remove note on peer deps to reduce confusion"
This reverts commit 741cabd.
1 parent 0ced89c commit e2dabe5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/user-event/install.mdx

+9
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ yarn add --dev @testing-library/user-event
2525

2626
</TabItem>
2727
</Tabs>
28+
29+
Note that `@testing-library/user-event` requires `@testing-library/dom`.
30+
31+
If you use one of the
32+
[framework wrappers](../dom-testing-library/install.mdx#wrappers), it is
33+
important that `@testing-library/dom` is resolved to the same installation
34+
required by the framework wrapper of your choice.
35+
Usually this means that if you use one of the framework wrappers, you should not
36+
add `@testing-library/dom` to your project dependencies.

0 commit comments

Comments
 (0)