Skip to content

Commit

Permalink
Declaration-rgpd: yarn test 5 failures
Browse files Browse the repository at this point in the history
Fixes #222
  • Loading branch information
= committed Aug 26, 2022
1 parent c20f0e8 commit 16ae1a8
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 17 deletions.
2 changes: 2 additions & 0 deletions declaration-rgpd/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
.DS_Store
75 changes: 58 additions & 17 deletions declaration-rgpd/__test__/__snapshots__/analyseFile.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,27 @@ Array [
"maxScore": 4,
"mention": "Mentions légales",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"directeur (ou) directrice",
"publication",
"hébergeur (ou) hébergement",
"éditeur (ou) édité par (ou) editeur (ou) edité par",
],
"score": 0,
"slug": "ml",
},
Object {
"declarationUrl": "https://1000jours-blues.fabrique.social.gouv.fr/politique-confidentialite",
"maxScore": 4,
"mention": "Politique de confidentialité",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"@",
"finalité",
"durée de conservation",
"sous-traitants (ou) sous traitants",
],
"score": 0,
"slug": "pc",
},
]
Expand All @@ -30,17 +40,27 @@ Array [
"maxScore": 4,
"mention": "Mentions légales",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"directeur (ou) directrice",
"publication",
"hébergeur (ou) hébergement",
"éditeur (ou) édité par (ou) editeur (ou) edité par",
],
"score": 0,
"slug": "ml",
},
Object {
"declarationUrl": "https://index-egapro.travail.gouv.fr/politique-confidentialite",
"maxScore": 4,
"mention": "Politique de confidentialité",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"@",
"finalité",
"durée de conservation",
"sous-traitants (ou) sous traitants",
],
"score": 0,
"slug": "pc",
},
]
Expand All @@ -53,17 +73,27 @@ Array [
"maxScore": 4,
"mention": "Mentions légales",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"directeur (ou) directrice",
"publication",
"hébergeur (ou) hébergement",
"éditeur (ou) édité par (ou) editeur (ou) edité par",
],
"score": 0,
"slug": "ml",
},
Object {
"declarationUrl": "https://ressourcerie.fabrique.social.gouv.fr/politique-confidentialite",
"maxScore": 4,
"mention": "Politique de confidentialité",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"@",
"finalité",
"durée de conservation",
"sous-traitants (ou) sous traitants",
],
"score": 0,
"slug": "pc",
},
]
Expand Down Expand Up @@ -112,11 +142,12 @@ Array [
"mention": "Données personnelles",
"missingTrackers": Array [],
"missingWords": Array [
"@",
"finalité",
"durée de conservation",
"sous-traitants (ou) sous traitants",
],
"score": 1,
"score": 0,
"slug": "pc",
},
]
Expand All @@ -129,8 +160,13 @@ Array [
"maxScore": 4,
"mention": "Mentions légales",
"missingTrackers": Array [],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"directeur (ou) directrice",
"publication",
"hébergeur (ou) hébergement",
"éditeur (ou) édité par (ou) editeur (ou) edité par",
],
"score": 0,
"slug": "ml",
},
Object {
Expand All @@ -140,8 +176,13 @@ Array [
"missingTrackers": Array [
"jQuery",
],
"missingWords": Array [],
"score": 4,
"missingWords": Array [
"@",
"finalité",
"durée de conservation",
"sous-traitants (ou) sous traitants",
],
"score": 0,
"slug": "pc",
},
]
Expand Down

0 comments on commit 16ae1a8

Please sign in to comment.