Amélioration du temps d'indexation #49
Annotations
2 errors and 1 warning
Run tests:
src/commands/__tests__/index.integration.ts#L108
expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [ObjectContaining {"_source": {"activitePrincipaleEtablissement": "79.06", "activitePrincipaleRegistreMetiersEtablissement": "", "activitePrincipaleUniteLegale": "79.06", "anneeCategorieEntreprise": "", "anneeEffectifsEtablissement": "", "anneeEffectifsUniteLegale": "", "caractereEmployeurEtablissement": "N", "caractereEmployeurUniteLegale": "N", "categorieEntreprise": "", "categorieJuridiqueUniteLegale": "1000", "codeCedex2Etablissement": "", "codeCedexEtablissement": "", "codeCommune2Etablissement": "", "codeCommuneEtablissement": "80001", "codePaysEtranger2Etablissement": "", "codePaysEtrangerEtablissement": "", "codePostal2Etablissement": "", "codePostalEtablissement": "80100", "complementAdresse2Etablissement": "", "complementAdresseEtablissement": "", "dateCreationEtablissement": "", "dateCreationUniteLegale": "", "dateDebut": "1984-12-25", "dateDernierTraitementEtablissement": "", "dateDernierTraitementUniteLegale": "", "denominationUniteLegale": "", "denominationUsuelle1UniteLegale": "", "denominationUsuelle2UniteLegale": "", "denominationUsuelle3UniteLegale": "", "denominationUsuelleEtablissement": "", "distributionSpeciale2Etablissement": "", "distributionSpecialeEtablissement": "", "economieSocialeSolidaireUniteLegale": "", "enseigne1Etablissement": "", "enseigne2Etablissement": "", "enseigne3Etablissement": "", "etablissementSiege": "true", "etatAdministratifEtablissement": "F", "etatAdministratifUniteLegale": "C", "identifiantAssociationUniteLegale": "", "indiceRepetition2Etablissement": "", "indiceRepetitionEtablissement": "", "libelleCedex2Etablissement": "", "libelleCedexEtablissement": "", "libelleCommune2Etablissement": "", "libelleCommuneEtablissement": "ABBEVILLE", "libelleCommuneEtranger2Etablissement": "", "libelleCommuneEtrangerEtablissement": "", "libellePaysEtranger2Etablissement": "", "libellePaysEtrangerEtablissement": "", "libelleVoie2Etablissement": "", "libelleVoieEtablissement": "DE DOULLENS", "nic": "00010", "nicSiegeUniteLegale": "00010", "nomUniteLegale": "DEBRAY", "nomUsageUniteLegale": "", "nombrePeriodesEtablissement": "1", "nombrePeriodesUniteLegale": "1", "nomenclatureActivitePrincipaleEtablissement": "NAP", "nomenclatureActivitePrincipaleUniteLegale": "NAP", "numeroVoie2Etablissement": "", "numeroVoieEtablissement": "", "prenom1UniteLegale": "MICHEL", "prenom2UniteLegale": "", "prenom3UniteLegale": "", "prenom4UniteLegale": "", "prenomUsuelUniteLegale": "MICHEL", "pseudonymeUniteLegale": "", "sexeUniteLegale": "M", "sigleUniteLegale": "", "siren": "005410345", "siret": "00541034500010", "statutDiffusionEtablissement": "O", "statutDiffusionUniteLegale": "O", "trancheEffectifsEtablissement": "", "trancheEffectifsUniteLegale": "", "typeVoie2Etablissement": "", "typeVoieEtablissement": "RTE", "unitePurgeeUniteLegale": "true"}}]
Received: [{"_id": "dhWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "dxWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "eBWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "eRWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "ehWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "exWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "fBWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "fRWTD44Bt0GC6Nw-vvUX", "_index": "stocketablissement-test-1.4.0-1709658324349", "_score": 1, "_source": [Object], "_type": "_doc"}, {"_id": "fhWTD44Bt0GC6Nw-vvUX", "_ignored": [Array], "_index": "
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading