Skip to content
Snippets Groups Projects
Commit 4a5dc45f authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

harmonize log texts

parent 9134bb4c
No related branches found
No related tags found
1 merge request!36fix(insee): handle parsing partial cities
Pipeline #54130 passed
......@@ -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')
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment