W3cubDocs

/Angular 11

async

function deprecated

Deprecated: use waitForAsync(), (expected removal in v12)

async(fn: Function): (done: any) => any

Deprecated use waitForAsync(), (expected removal in v12)

Parameters
fn Function
Returns

(done: any) => any

See also

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/core/testing/async