From c017729f779a055d96b0156361b5fc049d18a258 Mon Sep 17 00:00:00 2001 From: "Yassine R." Date: Thu, 27 Jun 2024 15:34:31 +0200 Subject: [PATCH] fix(frontend): fix landing page for mon domifa --- .../landing-page-portail.component.html | 5 +++++ .../landing-page-portail.component.spec.ts | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.html b/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.html index 37bbc15d28..9056faeb07 100644 --- a/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.html +++ b/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.html @@ -1,3 +1,8 @@ +
+
+

Le portail Mon DomiFa, consulter son courrier en ligne

+
+
diff --git a/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.spec.ts b/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.spec.ts index fa52708e97..be02c9e72d 100644 --- a/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.spec.ts +++ b/packages/frontend/src/app/modules/general/components/static-pages/landing-page-portail/landing-page-portail.component.spec.ts @@ -1,6 +1,10 @@ import { ComponentFixture, TestBed } from "@angular/core/testing"; import { LandingPagePortailComponent } from "./landing-page-portail.component"; +import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; +import { RouterTestingModule } from "@angular/router/testing"; +import { APP_BASE_HREF } from "@angular/common"; +import { NoopAnimationsModule } from "@angular/platform-browser/animations"; describe("LandingPagePortailComponent", () => { let component: LandingPagePortailComponent; @@ -9,6 +13,9 @@ describe("LandingPagePortailComponent", () => { beforeEach(async () => { await TestBed.configureTestingModule({ declarations: [LandingPagePortailComponent], + imports: [RouterTestingModule, NoopAnimationsModule], + providers: [{ provide: APP_BASE_HREF, useValue: "/" }], + schemas: [CUSTOM_ELEMENTS_SCHEMA], }).compileComponents(); fixture = TestBed.createComponent(LandingPagePortailComponent);