import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { PhoneComponent } from './phone.component'; describe('PhoneComponent', () => { let component: PhoneComponent; let fixture: ComponentFixture; beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [PhoneComponent] }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(PhoneComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });