From 3768dc030e5adaa71f1f755db8bba95170f41e35 Mon Sep 17 00:00:00 2001 From: lotte Date: Mon, 8 Apr 2024 10:40:45 +0200 Subject: [PATCH] 113500: Fixed lint issues (cherry picked from commit 903af2ccdb065eb24a638904f295a0d66a4b05a7) --- .../sections/form/section-form.component.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/submission/sections/form/section-form.component.spec.ts b/src/app/submission/sections/form/section-form.component.spec.ts index bce665b444..22525720fa 100644 --- a/src/app/submission/sections/form/section-form.component.spec.ts +++ b/src/app/submission/sections/form/section-form.component.spec.ts @@ -443,7 +443,7 @@ describe('SubmissionSectionFormComponent test suite', () => { compAsAny.formData = {}; compAsAny.sectionMetadata = ['dc.title']; - comp.updateForm({data: sectionData, errorsToShow: sectionError} as any); + comp.updateForm({ data: sectionData, errorsToShow: sectionError } as any); expect(comp.isUpdating).toBeFalsy(); expect(comp.initForm).toHaveBeenCalled(); @@ -460,7 +460,7 @@ describe('SubmissionSectionFormComponent test suite', () => { }; const sectionState = { data: sectionData, - errorsToShow: [{path: '/test', message: 'test'}], + errorsToShow: [{ path: '/test', message: 'test' }], } as any; comp.sectionData.data = {}; comp.sectionData.errorsToShow = []; @@ -478,9 +478,9 @@ describe('SubmissionSectionFormComponent test suite', () => { spyOn(comp, 'initForm'); spyOn(comp, 'checksForErrors'); const sectionData: any = {}; - const sectionErrors: any = [{ path: '/test', message: 'test'}]; + const sectionErrors: any = [{ path: '/test', message: 'test' }]; - comp.updateForm({data: sectionData, errorsToShow: sectionErrors} as any); + comp.updateForm({ data: sectionData, errorsToShow: sectionErrors } as any); expect(comp.initForm).not.toHaveBeenCalled(); expect(comp.checksForErrors).toHaveBeenCalled();