From a064b3d0724cbfb6ea1a77f003dfa25a51a89507 Mon Sep 17 00:00:00 2001 From: carolineBda Date: Tue, 17 Dec 2024 17:00:57 +0100 Subject: [PATCH] remove test --- .../components/__tests__/LienExterne.test.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/packages/code-du-travail-frontend/src/modules/fiche-service-public/builder/components/__tests__/LienExterne.test.tsx b/packages/code-du-travail-frontend/src/modules/fiche-service-public/builder/components/__tests__/LienExterne.test.tsx index 48d5999745..83ad132e55 100644 --- a/packages/code-du-travail-frontend/src/modules/fiche-service-public/builder/components/__tests__/LienExterne.test.tsx +++ b/packages/code-du-travail-frontend/src/modules/fiche-service-public/builder/components/__tests__/LienExterne.test.tsx @@ -46,23 +46,6 @@ describe("", () => { "https://code.travail.gouv.fr/outils/indemnite-licenciement" ); }); - it("should not fails if no url", () => { - const data = { - type: "element", - name: "LienExterne", - attributes: {}, - children: [ - { - type: "text", - text: "formulaire", - }, - ], - }; - - // @ts-ignore - const { getByText } = render(); - expect(getByText("formulaire")).toHaveAttribute("href", ""); - }); }); describe("cleanUrl", () => { it("retourne la même url si pas code.travail.gouv.fr", () => {