From 14da8a2b11c09ac5886bedda9e0372bd146c7584 Mon Sep 17 00:00:00 2001 From: "Yassine R." Date: Thu, 9 Jan 2025 17:43:57 +0100 Subject: [PATCH] fix(common): fix common unit tests --- .../src/usager/functions/tests/getRdvInfo.service.spec.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/common/src/usager/functions/tests/getRdvInfo.service.spec.ts b/packages/common/src/usager/functions/tests/getRdvInfo.service.spec.ts index 315637856d..a01c3e8081 100644 --- a/packages/common/src/usager/functions/tests/getRdvInfo.service.spec.ts +++ b/packages/common/src/usager/functions/tests/getRdvInfo.service.spec.ts @@ -28,14 +28,12 @@ describe("Création des rendez-vous", () => { expect(getRdvInfo(usager)).toEqual({ class: "warning", content: "20 mars 2021 à 19:20", - display: true, }); usager.etapeDemande = ETAPE_DOSSIER_COMPLET; expect(getRdvInfo(usager)).toEqual({ class: "", content: "", - display: false, }); }); @@ -55,14 +53,12 @@ describe("Création des rendez-vous", () => { expect(getRdvInfo(usager)).toEqual({ class: "danger", content: "20 juillet 2020 à 19:20", - display: true, }); usager.etapeDemande = ETAPE_DECISION; expect(getRdvInfo(usager)).toEqual({ class: "", content: "", - display: false, }); }); @@ -72,14 +68,12 @@ describe("Création des rendez-vous", () => { expect(getRdvInfo(usager)).toEqual({ class: "", content: "", - display: false, }); usager.rdv.dateRdv = null; expect(getRdvInfo(usager)).toEqual({ class: "", content: "", - display: false, }); // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -87,13 +81,11 @@ describe("Création des rendez-vous", () => { expect(getRdvInfo(usager)).toEqual({ class: "", content: "", - display: false, }); expect(getRdvInfo()).toEqual({ class: "", content: "", - display: false, }); });