Skip to content

Commit

Permalink
fix: small rgpd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet committed Apr 22, 2024
1 parent 6873548 commit a3884e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 185 deletions.
7 changes: 0 additions & 7 deletions declaration-rgpd/__test__/analyseFile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ test("ressourcerie: should return ml and pc", async () => {
expect(output).toMatchSnapshot();
});

test("egapro with sub-path: should return ml and pc", async () => {
const output = await analyseFile("./__test__/samples/egapro.html", {
url: "https://egapro.travail.gouv.fr/index-egapro",
});
expect(output).toMatchSnapshot();
});

test("1000jours-blues: should return ml and pc", async () => {
const output = await analyseFile("./__test__/samples/1000jours-blues.html", {
url: "https://1000jours-blues.fabrique.social.gouv.fr",
Expand Down
175 changes: 0 additions & 175 deletions declaration-rgpd/__test__/samples/egapro.html

This file was deleted.

5 changes: 2 additions & 3 deletions declaration-rgpd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ const searches = [
mustMatch: [
["@"],
["finalité"],
["durée de conservation"],
["durée de la conservation"],
["sous-traitants", "sous traitants"],
["durée de la conservation", "durée de conservation"],
["sous-traitant", "sous traitant"],
],
},
];
Expand Down

0 comments on commit a3884e4

Please sign in to comment.