@@ -147,10 +147,18 @@ describe('Counter', () => {
147
147
## Installation
148
148
149
149
This module is distributed via [ npm] [ npm ] which is bundled with [ node] [ node ] and
150
- should be installed as one of your project's ` devDependencies ` :
150
+ should be installed as one of your project's ` devDependencies ` .
151
+ Starting from ATL version 17, you'll also need to install ` @testing-library/dom ` :
151
152
152
153
``` bash
153
- npm install @testing-library/angular --save-dev
154
+ npm install --save-dev @testing-library/angular @testing-library/dom
155
+ ```
156
+
157
+ Or, you can use the ` ng add ` command.
158
+ This includes the installation of ` @testing-library/dom ` .
159
+
160
+ ``` bash
161
+ ng add @testing-library/angular
154
162
```
155
163
156
164
You may also be interested in installing ` jest-dom ` so you can use
@@ -160,14 +168,14 @@ You may also be interested in installing `jest-dom` so you can use
160
168
161
169
## Version compatibility
162
170
163
- | Angular | Angular Testing Library |
164
- | ------- | ----------------------- |
165
- | 18.x | 16.x, 15.x, 14.x, 13.x |
166
- | 17.x | 16.x, 15.x, 14.x, 13.x |
167
- | 16.x | 14.x, 13.x |
168
- | >= 15.1 | 14.x, 13.x |
169
- | < 15.1 | 12.x, 11.x |
170
- | 14.x | 12.x, 11.x |
171
+ | Angular | Angular Testing Library |
172
+ | ------- | ---------------------------- |
173
+ | 18.x | 17.x, 16.x, 15.x, 14.x, 13.x |
174
+ | 17.x | 17.x, 16.x, 15.x, 14.x, 13.x |
175
+ | 16.x | 14.x, 13.x |
176
+ | >= 15.1 | 14.x, 13.x |
177
+ | < 15.1 | 12.x, 11.x |
178
+ | 14.x | 12.x, 11.x |
171
179
172
180
## Guiding Principles
173
181
0 commit comments