Skip to content

Commit

Permalink
fix(mon-domifa): fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Oct 21, 2024
1 parent 97c8a86 commit dbecb46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { ComponentFixture, TestBed } from "@angular/core/testing";

import { SectionInfosComponent } from "./section-infos.component";
import { SharedModule } from "../../../../../shared/shared.module";
import { FormatInternationalPhoneNumberPipe } from "../../../../pipes";

describe("SectionInfosComponent", () => {
let component: SectionInfosComponent;
let fixture: ComponentFixture<SectionInfosComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [SharedModule],
imports: [SharedModule, FormatInternationalPhoneNumberPipe],
declarations: [SectionInfosComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
}).compileComponents();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ <h2 class="section-title">Liens utiles</h2>
class="img-fluid mx-auto d-block d-sm-inline-block"
/>
</a>

<p class="py-1">
Découvrez en quelques clics les prestations sociales que vous pouvez
demander (aides au logement, complémentaire santé, etc)
Expand All @@ -61,6 +60,17 @@ <h2 class="section-title">Liens utiles</h2>
></a>
</div>
<div class="my-4">
<a
target="_blank"
rel="noopener noreferrer"
href="https://mes-aides.1jeune1solution.beta.gouv.fr/?utm_source=domifa"
>
<img
src="/assets/images/partenaires/1jeune1solution.png"
alt="Logo de Mes droits sociaux"
class="img-fluid mx-auto d-block d-sm-inline-block"
/>
</a>
<p class="py-1">
Découvrez les aides et prestations sociales auxquelles vous êtes
éligibles en vous rendant sur le site AidesJeunes
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dbecb46

Please sign in to comment.