From 031e12f76ba8f0e2f07c4f5763558bc3e18adeb4 Mon Sep 17 00:00:00 2001 From: Andrea Barbasso <´andrea.barbasso@4science.com´> Date: Wed, 20 Dec 2023 13:24:50 +0100 Subject: [PATCH] [DURACOM-191] fix root component tests --- src/app/root/root.component.spec.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/app/root/root.component.spec.ts b/src/app/root/root.component.spec.ts index 0d37633c7c..40fdf8289b 100644 --- a/src/app/root/root.component.spec.ts +++ b/src/app/root/root.component.spec.ts @@ -29,6 +29,11 @@ import { MenuServiceStub } from '../shared/testing/menu-service.stub'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { NotificationsBoardComponent } from '../shared/notifications/notifications-board/notifications-board.component'; import { SystemWideAlertBannerComponent } from '../system-wide-alert/alert-banner/system-wide-alert-banner.component'; +import { ThemedAdminSidebarComponent } from '../admin/admin-sidebar/themed-admin-sidebar.component'; +import { ThemedHeaderNavbarWrapperComponent } from '../header-nav-wrapper/themed-header-navbar-wrapper.component'; +import { ThemedBreadcrumbsComponent } from '../breadcrumbs/themed-breadcrumbs.component'; +import { ThemedLoadingComponent } from '../shared/loading/themed-loading.component'; +import { ThemedFooterComponent } from '../footer/themed-footer.component'; describe('RootComponent', () => { let component: RootComponent; @@ -67,7 +72,15 @@ describe('RootComponent', () => { }) .overrideComponent(RootComponent, { remove: { - imports: [NotificationsBoardComponent, SystemWideAlertBannerComponent] + imports: [ + ThemedAdminSidebarComponent, + SystemWideAlertBannerComponent, + ThemedHeaderNavbarWrapperComponent, + ThemedBreadcrumbsComponent, + ThemedLoadingComponent, + ThemedFooterComponent, + NotificationsBoardComponent + ] } }) .compileComponents();