Skip to content

Commit cd305c9

Browse files
committed
fix: add all missing anchor IDs to utility-apis.md
1 parent 80f3a22 commit cd305c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adev-ja/src/content/guide/testing/utility-apis.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Angularテストユーティリティには、`TestBed`、`ComponentFixture`、
1818
| `ComponentFixtureAutoDetect` | [自動的な変更検出](guide/testing/components-scenarios#automatic-change-detection) をオンにするサービスの提供トークン。 |
1919
| `getTestBed` | 現在の `TestBed` のインスタンスを取得します。通常、`TestBed` クラスの静的クラスメソッドが十分なため、これは不要です。`TestBed` インスタンスは、静的メソッドとして利用できない、まれに使用されるメンバーをいくつか公開します。 |
2020

21-
## `TestBed` クラスの概要
21+
## `TestBed` クラスの概要 {#testbed-class-summary}
2222

2323
`TestBed` クラスは、主要なAngularテストユーティリティの1つです。
2424
APIは非常に大きく、少しづつ調べていくまで、圧倒される可能性があります。
@@ -76,13 +76,13 @@ set?: Partial<T>;
7676
`TestBed` インスタンスのメソッドのいくつかは、静的な `TestBed` _クラス_ メソッドではカバーされていません。
7777
これらは、めったに必要ありません。
7878

79-
## `ComponentFixture`
79+
## `ComponentFixture` {#the-componentfixture}
8080

8181
`TestBed.createComponent<T>` は、コンポーネント `T` のインスタンスを作成し、そのコンポーネントの強く型付けされた `ComponentFixture` を返します。
8282

8383
`ComponentFixture` のプロパティとメソッドは、コンポーネント、そのDOM表現、およびAngular環境の側面へのアクセスを提供します。
8484

85-
### `ComponentFixture` のプロパティ
85+
### `ComponentFixture` のプロパティ {#componentfixture-properties}
8686

8787
以下は、テスターにとって最も重要なプロパティを、ユーティリティの利用頻度順に示します。
8888

@@ -93,7 +93,7 @@ set?: Partial<T>;
9393
| `nativeElement` | コンポーネントのルートにあるネイティブ DOM 要素。 |
9494
| `changeDetectorRef` | コンポーネントの `ChangeDetectorRef`。 <br /> `ChangeDetectorRef` は、コンポーネントが `ChangeDetectionStrategy.OnPush` メソッドを持っているか、コンポーネントの変更検知がプログラムによって制御されている場合に最も役立ちます。 |
9595

96-
### `ComponentFixture` のメソッド
96+
### `ComponentFixture` のメソッド {#componentfixture-methods}
9797

9898
*fixture* メソッドは、Angularにコンポーネントツリーで特定のタスクを実行させます。
9999
シミュレートされたユーザーアクションに応答して、Angularの動作をトリガーするには、これらのメソッドを呼び出します。
@@ -109,7 +109,7 @@ set?: Partial<T>;
109109
| `whenStable` | fixture が安定したら解決される Promise を返します。 <br /> 非同期アクティビティまたは非同期的な変更検知の完了後にテストを再開するには、その Promise をフックします。[whenStable](guide/testing/components-scenarios#whenstable) を参照してください。 |
110110
| `destroy` | コンポーネントの破棄をトリガーします。 |
111111

112-
#### `DebugElement`
112+
#### `DebugElement` {#debugelement}
113113

114114
`DebugElement` は、コンポーネントのDOM表現に関する重要な洞察を提供します。
115115

0 commit comments

Comments
 (0)