validator-pk
Version:
A lightweight library for validating and formatting Pakistani phone numbers and CNIC.
24 lines (18 loc) • 635 B
text/typescript
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ValidatorPKComponent } from './validator-pk.component';
describe('ValidatorPKComponent', () => {
let component: ValidatorPKComponent;
let fixture: ComponentFixture<ValidatorPKComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ValidatorPKComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(ValidatorPKComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});