From bc39afc9781dea249512f88f73d28b5988caa5c9 Mon Sep 17 00:00:00 2001 From: SheenaMalhotra182 Date: Sat, 11 Feb 2023 01:22:23 +0530 Subject: [PATCH] linting fixes --- .../header-actions/header-actions.component.spec.ts | 5 ++--- .../src/lib/components/header/header.component.spec.ts | 3 +-- .../src/lib/components/sidenav/sidenav.component.html | 2 +- .../src/lib/components/sidenav/sidenav.component.ts | 2 +- .../lib/components/view-profile/view-profile.component.ts | 2 +- .../src/lib/services/content-service-extension.service.ts | 1 - .../document-base-page/document-base-page.component.ts | 1 - .../lib/components/page-layout/page-layout.component.html | 2 +- 8 files changed, 7 insertions(+), 11 deletions(-) diff --git a/projects/aca-content/src/lib/components/header-actions/header-actions.component.spec.ts b/projects/aca-content/src/lib/components/header-actions/header-actions.component.spec.ts index 6ae91a4e4..39c53a4a4 100644 --- a/projects/aca-content/src/lib/components/header-actions/header-actions.component.spec.ts +++ b/projects/aca-content/src/lib/components/header-actions/header-actions.component.spec.ts @@ -17,7 +17,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { AppTestingModule } from '../../testing/app-testing.module'; -import { HeaderActionsComponent } from './header-actions.component' +import { HeaderActionsComponent } from './header-actions.component'; import { ContentActionType } from '@alfresco/adf-extensions'; import { AppExtensionService } from '@alfresco/aca-shared'; import { of } from 'rxjs'; @@ -28,7 +28,6 @@ import { AppHeaderActionsModule } from './header-actions.module'; describe('HeaderActionsComponent', () => { let component: HeaderActionsComponent; let fixture: ComponentFixture; - let extensionService: AppExtensionService; let getCreateActionsSpy: jasmine.Spy; let getUploadActionsSpy: jasmine.Spy; @@ -115,7 +114,7 @@ describe('HeaderActionsComponent', () => { button.click(); } - it('should render menu items when create menu is opened' , async () => { + it('should render menu items when create menu is opened', async () => { spyOn(component, 'isPersonalFilesRoute').and.returnValue(true); await clickCreateMenu(); diff --git a/projects/aca-content/src/lib/components/header/header.component.spec.ts b/projects/aca-content/src/lib/components/header/header.component.spec.ts index 62f75d19d..f3625fa49 100644 --- a/projects/aca-content/src/lib/components/header/header.component.spec.ts +++ b/projects/aca-content/src/lib/components/header/header.component.spec.ts @@ -93,5 +93,4 @@ describe('AppHeaderComponent', () => { tick(); expect(component.actions).toEqual(actions); })); -}); - +}); \ No newline at end of file diff --git a/projects/aca-content/src/lib/components/sidenav/sidenav.component.html b/projects/aca-content/src/lib/components/sidenav/sidenav.component.html index 6da2dcfb1..ae3af7708 100644 --- a/projects/aca-content/src/lib/components/sidenav/sidenav.component.html +++ b/projects/aca-content/src/lib/components/sidenav/sidenav.component.html @@ -2,7 +2,7 @@
-