Skip to content

Commit 066491e

Browse files
committed
docs(cdk/testing): fix broken harness predicate links
The links to the Filtering harness instances with `HarnessPredicate` section are currently broken.
1 parent caad0b5 commit 066491e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk/testing/test-harnesses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ are used to create `ComponentHarness` instances for elements under this root ele
139139
Calls to `getHarness` and `getAllHarnesses` can either take `ComponentHarness` subclass or a
140140
`HarnessPredicate`. `HarnessPredicate` applies additional restrictions to the search (e.g. searching
141141
for a button that has some particular text, etc). The
142-
[details of `HarnessPredicate`](#filtering-harness-instances-with-harnesspredicate) are discussed in
142+
[details of `HarnessPredicate`](#filtering-harness-instances-with-code-harnesspredicate-code-) are discussed in
143143
the [API for component harness authors](#api-for-component-harness-authors); harness authors should
144144
provide convenience methods on their `ComponentHarness` subclass to facilitate the creation of
145145
`HarnessPredicate` instances. However, if the harness author's API is not sufficient, they can be
@@ -216,7 +216,7 @@ class MyPopupHarness extends ComponentHarness {
216216

217217
While `ComponentHarness` subclasses require only the `hostSelector` property, most harnesses should
218218
also implement a static `with` method to generate `HarnessPredicate` instances. The
219-
[`HarnessPredicate`](#filtering-harness-instances-with-harnesspredicate) section below covers this
219+
[`HarnessPredicate`](#filtering-harness-instances-with-code-harnesspredicate-code-) section below covers this
220220
in more detail.
221221

222222
#### Finding elements in the component's DOM

0 commit comments

Comments
 (0)