Skip to content

Commit ebf2f51

Browse files
committed
Replaced deprecated async() to waitForAsync() in tests
1 parent 1c06bf6 commit ebf2f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

angular-code-input/src/lib/code-input.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
1+
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
22

33
import { CodeInputComponent } from './code-input.component';
44

55
describe('CodeInputComponent', () => {
66
let component: CodeInputComponent;
77
let fixture: ComponentFixture<CodeInputComponent>;
88

9-
beforeEach(async(() => {
9+
beforeEach(waitForAsync(() => {
1010
TestBed.configureTestingModule({
1111
declarations: [ CodeInputComponent ]
1212
}).compileComponents();

0 commit comments

Comments
 (0)