Skip to content

Commit 35b25b8

Browse files
committed
docs: πŸ“ fix links
1 parent 84b55a8 commit 35b25b8

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

β€Ždocs/instructions/302-recipe-search-integration/2-testing-library.mdβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ await render(RecipeSearch, {
8989

9090
Cf. [How to configure `TestBed` before mounting the component with Testing Library](#-tip-how-to-configure-testbed-before-mounting-the-component-with-testing-library)
9191

92-
#### 4. Query DOM and check names are displayed. _Cf. [query DOM with `fixture.debugElement`](#-tip-query-dom-with-fixturedebugelement)_
92+
#### 4. Query DOM and check names are displayed.
93+
94+
Cf. [Testing Library Queries docs](#-testing-library-queries-docs--or-how-to-choose-the-right-query)
9395

9496
#### 5. [optional] Checkout the implementation if you've opted for TDD option:
9597

β€Ždocs/instructions/303-recipe-search-shallow.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can choose to:
2323

2424
## 🎯 Goal: Test `RecipeSearch`
2525

26-
Same goal as [previous exercise](302-recipe-search-integration.md) _(i.e. `RecipeSearch` should call `RecipeRepository.search()` on startup.)_
26+
Same goal as [previous exercise](./302-recipe-search-integration/1-test-bed.md) _(i.e. `RecipeSearch` should call `RecipeRepository.search()` on startup.)_
2727

2828
But let's check children properties this time.
2929

@@ -52,7 +52,7 @@ TestBed.overrideComponent(RecipeSearch, {
5252
});
5353
```
5454

55-
#### 4. Query DOM and check child components properties. (Cf. [query DOM with `fixture.debugElement`](302-recipe-search-integration.md#-tip-query-dom-with-fixturedebugelement)] & [access element properties](#-tip-access-element-properties))
55+
#### 4. Query DOM and check child components properties. (Cf. [query DOM with `fixture.debugElement`](302-recipe-search-integration/1-test-bed.md#-tip-query-dom-with-fixturedebugelement)] & [access element properties](#-tip-access-element-properties))
5656

5757
#### 5. [optional] Checkout the implementation if you've opted for TDD option:.
5858

β€Ždocs/instructions/402-recipe-filter-interaction.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pnpm test
3939

4040
#### 4. Trigger `filterChange` on `RecipeFilter`. (Cf. [trigger events using `debugElement.triggerEventHandler`](#-tip-trigger-events-using-debugelementtriggereventhandler))
4141

42-
#### 5. Query DOM and check child recipe preview components properties. (Cf. [query DOM with `fixture.debugElement`](./302-recipe-search-integration.md#-tip-query-dom-with-fixturedebugelement)] & [access element properties](./303-recipe-search-shallow.md#-tip-access-element-properties))
42+
#### 5. Query DOM and check child recipe preview components properties. (Cf. [query DOM with `fixture.debugElement`](./302-recipe-search-integration/1-test-bed.md#-tip-query-dom-with-fixturedebugelement)] & [access element properties](./303-recipe-search-shallow.md#-tip-access-element-properties))
4343

4444
#### 6. [optional] Checkout the implementation if you've opted for TDD option:.
4545

0 commit comments

Comments
Β (0)