MTES-MCT / dialog

Intégration de la réglementation de circulation dans les solutions numériques
https://dialog.beta.gouv.fr
GNU Affero General Public License v3.0
9 stars 0 forks source link

Fix map json encoding #808

Closed mmarchois closed 3 months ago

mmarchois commented 3 months ago

Cette PR permet de corriger le bug de parsing du JSON

SyntaxError: Expected ',' or ']' after array element in JSON at position 65536 (line 2 column 65536)
    at JSON.parse (<anonymous>)
    at MutationObserver.<anonymous> 
codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.10%. Comparing base (78cabc5) to head (99d166a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #808 +/- ## ========================================= Coverage 99.10% 99.10% Complexity 1165 1165 ========================================= Files 218 218 Lines 4929 4929 ========================================= Hits 4885 4885 Misses 44 44 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.