Skip to content

Commit 903af2c

Browse files
committed
113500: Fixed lint issues
1 parent bff5de0 commit 903af2c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/submission/sections/form/section-form.component.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ describe('SubmissionSectionFormComponent test suite', () => {
464464
compAsAny.formData = {};
465465
compAsAny.sectionMetadata = ['dc.title'];
466466

467-
comp.updateForm({data: sectionData, errorsToShow: sectionError} as any);
467+
comp.updateForm({ data: sectionData, errorsToShow: sectionError } as any);
468468

469469
expect(comp.isUpdating).toBeFalsy();
470470
expect(comp.initForm).toHaveBeenCalled();
@@ -481,7 +481,7 @@ describe('SubmissionSectionFormComponent test suite', () => {
481481
};
482482
const sectionState = {
483483
data: sectionData,
484-
errorsToShow: [{path: '/test', message: 'test'}],
484+
errorsToShow: [{ path: '/test', message: 'test' }],
485485
} as any;
486486
comp.sectionData.data = {};
487487
comp.sectionData.errorsToShow = [];
@@ -499,9 +499,9 @@ describe('SubmissionSectionFormComponent test suite', () => {
499499
spyOn(comp, 'initForm');
500500
spyOn(comp, 'checksForErrors');
501501
const sectionData: any = {};
502-
const sectionErrors: any = [{ path: '/test', message: 'test'}];
502+
const sectionErrors: any = [{ path: '/test', message: 'test' }];
503503

504-
comp.updateForm({data: sectionData, errorsToShow: sectionErrors} as any);
504+
comp.updateForm({ data: sectionData, errorsToShow: sectionErrors } as any);
505505

506506
expect(comp.initForm).not.toHaveBeenCalled();
507507
expect(comp.checksForErrors).toHaveBeenCalled();

0 commit comments

Comments
 (0)