Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda committed Dec 17, 2024
1 parent 38b3565 commit a064b3d
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,6 @@ describe("<LienExterne />", () => {
"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(<LienExterne data={data} />);
expect(getByText("formulaire")).toHaveAttribute("href", "");
});
});
describe("cleanUrl", () => {
it("retourne la même url si pas code.travail.gouv.fr", () => {
Expand Down

0 comments on commit a064b3d

Please sign in to comment.