Skip to content

Commit 8ffed7c

Browse files
docs: update docs for v17 (#459)
1 parent ef10fbf commit 8ffed7c

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

README.md

+18-10
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,18 @@ describe('Counter', () => {
147147
## Installation
148148

149149
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`:
151152

152153
```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
154162
```
155163

156164
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
160168
161169
## Version compatibility
162170

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 |
171179

172180
## Guiding Principles
173181

0 commit comments

Comments
 (0)