test: resotre "async" around tests where "await" is used (#30762)
The "async" around a couple tests was removed because of the merge conflict in one of the previous commits (80394ce08b12ff95167cf1c4aec61044bb78fbe6). This change restores missing "async"s. PR Close #30762
This commit is contained in:
parent
80394ce08b
commit
e0c36620c1
@ -74,7 +74,7 @@ describe('injectable pipe migration', () => {
|
||||
.toMatch(/@Injectable\(\)\s+@Pipe\(\{ name: 'myPipe' \}\)\s+export class MyPipe/);
|
||||
});
|
||||
|
||||
it('should add an import for Injectable to the @angular/core import declaration', () => {
|
||||
it('should add an import for Injectable to the @angular/core import declaration', async() => {
|
||||
writeFile('/index.ts', `
|
||||
import { Pipe } from '@angular/core';
|
||||
|
||||
|
@ -73,7 +73,7 @@ describe('move-document migration', () => {
|
||||
expect(content).not.toContain(`import {DOCUMENT} from '@angular/platform-browser';`);
|
||||
});
|
||||
|
||||
it('should properly apply import replacement with existing import', () => {
|
||||
it('should properly apply import replacement with existing import', async() => {
|
||||
writeFile('/index.ts', `
|
||||
import {DOCUMENT} from '@angular/platform-browser';
|
||||
import {someImport} from '@angular/common';
|
||||
|
Loading…
x
Reference in New Issue
Block a user