Skip to content

Commit b567fbb

Browse files
committed
docs: update docs for ATL v17
1 parent b9ae554 commit b567fbb

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

docs/angular-testing-library/intro.mdx

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@ sidebar_label: Introduction
88
builds on top of
99
[`DOM Testing Library`](https://github.com/testing-library/dom-testing-library)
1010
by adding APIs for working with Angular components.
11+
Starting from ATL version 17, you also need to install `@testing-library/dom`:
1112

1213
```bash npm2yarn
13-
npm install --save-dev @testing-library/angular
14+
npm install --save-dev @testing-library/angular @testing-library/dom
15+
```
16+
17+
Or, you can use the `ng add` command.
18+
This sets up your project to use Angular Testing Library, which also includes the installation of `@testing-library/dom`.
19+
20+
```bash
21+
ng add @testing-library/angular
1422
```
1523

1624
- [`@testing-library/angular-testing-library` on GitHub](https://github.com/testing-library/angular-testing-library)

docs/angular-testing-library/version-compatibility.mdx

+8-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ title: Version compatibility
66
An overview of the compatibility between different versions of Angular Testing
77
Library and Angular.
88

9-
| Angular | Angular Testing Library |
10-
| ------- | ----------------------- |
11-
| 17.x | 16.x, 15.x, 14.x, 13.x |
12-
| 16.x | 14.x, 13.x |
13-
| >= 15.1 | 14.x, 13.x |
14-
| < 15.1 | 12.x, 11.x |
15-
| 14.x | 12.x, 11.x |
9+
| Angular | Angular Testing Library |
10+
| ------- | ---------------------------- |
11+
| 18.x | 17.x, 16.x, 15.x, 14.x, 13.x |
12+
| 17.x | 17.x, 16.x, 15.x, 14.x, 13.x |
13+
| 16.x | 14.x, 13.x |
14+
| >= 15.1 | 14.x, 13.x |
15+
| < 15.1 | 12.x, 11.x |
16+
| 14.x | 12.x, 11.x |

0 commit comments

Comments
 (0)