- 
  Notifications
 
You must be signed in to change notification settings  - Fork 1.1k
 
Commit a4744fa
BREAKING CHANGE: `@testing-library/dom` was moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of `@testing-library/dom` installed that frequently caused bugs when used with `@testing-library/user-event`. We will also be able to allow new versions of `@testing-library/dom` being used without a SemVer major release of `@testing-library/react` by just widening the peer dependency.
`@types/react-dom` needs to be installed if you're typechecking files using `@testing-library/react`.
Co-authored-by: Matan Borenkraout <matanbobi@gmail.com>
1 parent c1f2957 commit a4744fa
2 files changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
97 | 97 |  | |
98 | 98 |  | |
99 | 99 |  | |
100 | - | ||
100 | + | ||
101 | + | ||
102 | + | ||
101 | 103 |  | |
102 | 104 |  | |
103 | - | ||
105 | + | ||
104 | 106 |  | |
105 | 107 |  | |
106 | 108 |  | |
107 | 109 |  | |
108 | 110 |  | |
109 | 111 |  | |
110 | 112 |  | |
111 | - | ||
113 | + | ||
112 | 114 |  | |
113 | 115 |  | |
114 | - | ||
116 | + | ||
117 | + | ||
115 | 118 |  | |
116 | 119 |  | |
117 | 120 |  | |
 | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
45 | 45 |  | |
46 | 46 |  | |
47 | 47 |  | |
48 | - | ||
49 | - | ||
50 | - | ||
48 | + | ||
51 | 49 |  | |
52 | 50 |  | |
51 | + | ||
53 | 52 |  | |
54 | 53 |  | |
54 | + | ||
55 | 55 |  | |
56 | 56 |  | |
57 | 57 |  | |
 | |||
63 | 63 |  | |
64 | 64 |  | |
65 | 65 |  | |
66 | + | ||
66 | 67 |  | |
68 | + | ||
67 | 69 |  | |
68 | 70 |  | |
69 | 71 |  | |
70 | 72 |  | |
71 | 73 |  | |
72 | 74 |  | |
75 | + | ||
76 | + | ||
77 | + | ||
73 | 78 |  | |
74 | 79 |  | |
75 | 80 |  | |
 | |||
0 commit comments