Skip to content
Snippets Groups Projects

chore(perimetres): corriger les périmètres qui ne sont pas valides

Files

@@ -204,6 +204,13 @@ describe('retourne l’étape en fonction de son héritage', () => {
test('l’étape n’est pas modifiée si pas de changement sur le perimetre', () => {
const titreEtapePrecedente = {
id: 'titreEtapePrecedenteId',
geojson4326Forages: undefined,
geojson4326Points: undefined,
geojsonOriginePoints: undefined,
geojsonOriginePerimetre: undefined,
geojsonOrigineGeoSystemeId: undefined,
geojsonOrigineForages: undefined,
surface: 0,
geojson4326Perimetre: { type: 'Feature', properties: {}, geometry: { type: 'MultiPolygon', coordinates: [[[[1, 2]]]] } },
heritageProps: ETAPE_HERITAGE_PROPS.reduce((acc, prop) => {
acc[prop] = { actif: false, etapeId: null }
Loading