async -> waitForAsync migration
Automatically migrates from async
to waitForAsync
by changing function calls and renaming imports.
Before
import { async } from '@angular/core/testing';
it('should work', async(() => {
// async testing logic
}));
After
import { waitForAsync } from '@angular/core/testing';
it('should work', waitForAsync(() => {
// async testing logic
}));