From 46a1b5bea504381d8f6701bd90db16fb5ebee486 Mon Sep 17 00:00:00 2001 From: Elton Sanchez <3165000+sanchezelton@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:06:41 -0700 Subject: [PATCH] TERR-53 - added reporters to karma config - refactored santize functions into utils module - narrowed scope of coverage testing to non-d3, non-leaflet, non-pubsub code - corrected imports of santize functions - refactored render function to use resolvePath - removed resolveObjPath fn from templates module - removed topologyTools module - added some jsdoc inlinedocs for utils module - refactored util fn name from getUrlSearchParams to getUrlQueryParams --- index.html | 2 +- karma.conf.js | 19 +- src/MapPanel.tsx | 2 +- src/components/MapCanvas.component.js | 2 +- src/components/lib/templates.js | 12 +- src/components/lib/topologyTools.js | 42 ---- src/components/lib/utils.js | 109 +++++++++- yarn.lock | 278 +++++++++++++++++++++++++- 8 files changed, 400 insertions(+), 66 deletions(-) delete mode 100644 src/components/lib/topologyTools.js diff --git a/index.html b/index.html index 86845fd3..296cc535 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@