UNPKG

otp-component-wu

Version:

How to build libraries with Angular (2, 4, 5...)

26 lines (20 loc) 632 B
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { OtpComponent } from './otp.component'; describe('OtpComponent', () => { let component: OtpComponent; let fixture: ComponentFixture<OtpComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ OtpComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(OtpComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });