diff --git a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.spec.ts b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.spec.ts index 3073fff37..af98024b7 100644 --- a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.spec.ts +++ b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.spec.ts @@ -51,7 +51,7 @@ describe('PageHeaderComponent', () => { let component: PageHeaderComponent let fixture: ComponentFixture let pageHeaderHarness: PageHeaderHarness - let userServiceSpy: jest.SpyInstance + let userServiceSpy: jest.SpyInstance beforeEach(async () => { await TestBed.configureTestingModule({ diff --git a/libs/angular-integration-interface/mocks/mock-user-service.ts b/libs/angular-integration-interface/mocks/mock-user-service.ts index 95534ca83..f09e835aa 100644 --- a/libs/angular-integration-interface/mocks/mock-user-service.ts +++ b/libs/angular-integration-interface/mocks/mock-user-service.ts @@ -3,7 +3,7 @@ import { BehaviorSubject } from 'rxjs' export class MockUserService { lang$ = new BehaviorSubject('en') /* eslint-disable @typescript-eslint/no-unused-vars */ - hasPermission(permissionKey: string): boolean { + hasPermission(permissionKey: string | string[]): boolean { return true } }