Skip to content

Commit ea4e447

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
update code cov
1 parent f961bf0 commit ea4e447

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sdk/lib/src/imagekitio-angular/ik-upload/ik-upload.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* istanbul ignore file */
12
import { AfterViewInit, ElementRef, Component, Input, Output, EventEmitter } from '@angular/core';
23
import { ImagekitService } from '../imagekit.service';
34
import { IkUploadComponentOptions, Dict, HTMLInputEvent } from '../utility/ik-type-def-collection';

sdk/tests/sdk-tests/ik-upload.component.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ describe("IkUploadComponent", () => {
558558
// Assert that the authenticator function returned the expected data
559559
expect(authResult).toEqual(expectedAuthData);
560560
});
561-
562561

563562
it("onError event emitter called when upload fails", async () => {
564563
component.fileName = 'dummy-file-name';
@@ -632,7 +631,6 @@ describe("IkUploadComponent", () => {
632631
expect(hasTrackedProgress).toBeTruthy();
633632
});
634633

635-
636634
it("abort should have been called when when upload.abort is invoked", () => {
637635
component.fileName = 'dummy-file-name';
638636
fixture.detectChanges();
@@ -712,8 +710,6 @@ describe("IkUploadComponent", () => {
712710
expect(ikUploadSpy).toHaveBeenCalled();
713711
});
714712

715-
716-
717713
it('handleUploadResponse should handle an error', () => {
718714
const options = {
719715
onError: new EventEmitter<any>(),

0 commit comments

Comments
 (0)