• Overview
@angular/cdk/testing

manualChangeDetection

function

Disables the harness system's auto change detection for the duration of the given function.

API

function manualChangeDetection<T>(fn: () => Promise<T>): Promise<T>;

manualChangeDetection

Promise<T>

Disables the harness system's auto change detection for the duration of the given function.

@paramfn() => Promise<T>

The function to disable auto change detection for.

@returnsPromise<T>
Jump to details