From 4a5dc45f1cefdede5990769feaa4bb2ece2e9ce6 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Mon, 6 Mar 2023 15:20:33 +0100 Subject: [PATCH] harmonize log texts --- __tests__/requests/insee.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/requests/insee.spec.js b/__tests__/requests/insee.spec.js index 8104c20..935db10 100644 --- a/__tests__/requests/insee.spec.js +++ b/__tests__/requests/insee.spec.js @@ -2,7 +2,7 @@ const { errors } = require('cozy-konnector-libs') const { getInseeCode } = require('../../src/requests/insee') describe('getInseeCode', () => { - it('should return a valid insee code for Lyon 7', async () => { + it('should return insee code for: Lyon 7', async () => { expect(await getInseeCode(69007)).toEqual('69387') }) @@ -23,11 +23,11 @@ describe('getInseeCode', () => { }) describe('should handle communes with multiple insee code', () => { - it('should return Craponne insee code for post code 69290', async () => { + it('should return insee code for: Craponne', async () => { expect(await getInseeCode(69290, 'CRAPONNE')).toEqual('69069') }) - it('should return Pollionnay insee code for post code 69290', async () => { + it('should return insee code for: Pollionnay', async () => { expect(await getInseeCode(69290, 'POLLIONNAY')).toEqual('69154') }) -- GitLab