Skip to content

Commit e00775a

Browse files
cexbrayatdevversion
authored andcommitted
docs: mention autoDetectChanges parameter default value (angular#58092)
It was unclear whether the parameter was necessary, as its default value was not mentioned in the jdsoc. PR Close angular#58092
1 parent 9e82559 commit e00775a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/testing/src/component_fixture.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ export class ComponentFixture<T> {
176176
* Set whether the fixture should autodetect changes.
177177
*
178178
* Also runs detectChanges once so that any existing change is detected.
179+
*
180+
* @param autoDetect Whether to autodetect changes. By default, `true`.
179181
*/
180182
autoDetectChanges(autoDetect = true): void {
181183
if (this._noZoneOptionIsSet && !this.zonelessEnabled) {

0 commit comments

Comments
 (0)