this.uploadDocObj = {
documentType: this.uploadedDocList[i].documentType,
documentNumber: this.uploadedDocList[i].documentNumber,
expiryDate: this.uploadedDocList[i].dateExpiry ? expiryDate : this.uploadedDocList[i].
issueDate: this.uploadedDocList[i].dateIssue ? issueDate : this.uploadedDocList[i]
image: this.uploadedDocList[i].imageUrl,
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [LoginComponent]
compileComponents();
fixture = TestBed.createComponent(LoginComponent);
compileComponents();
imports: [LoginComponent]
compileComponents();
fixture = TestBed.createComponent(LoginComponent);
compileComponents();