From 179660944cb150168d8fa54d68d597d552b3d4df Mon Sep 17 00:00:00 2001 From: ericiwamoto <100735505+ericiwamoto@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:26:47 -0800 Subject: [PATCH] Update frontend test snapshots --- .gitignore | 3 +++ client/package.json | 1 + .../MapLegend/tests/__snapshots__/mapLegend.test.tsx.snap | 4 ++-- .../__snapshots__/SidePanelInfo.test.tsx.snap | 8 ++++---- .../components/__snapshots__/mapInfoPanel.test.tsx.snap | 8 ++++---- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 36c2ca61..07d1cb50 100644 --- a/.gitignore +++ b/.gitignore @@ -150,3 +150,6 @@ node_modules .python-version .DS_Store temp_dir + +# asdf tooling +.tool-versions diff --git a/client/package.json b/client/package.json index fefac8fd..0bd78a81 100644 --- a/client/package.json +++ b/client/package.json @@ -68,6 +68,7 @@ "husky": "^7.0.4", "identity-obj-proxy": "^3.0.0", "jest": "^27.5.1", + "jest-environment-jsdom": "^27.5.1", "license-checker": "^25.0.1", "prettier": "^2.6.0", "react-test-renderer": "^17.0.2", diff --git a/client/src/components/MapLegend/tests/__snapshots__/mapLegend.test.tsx.snap b/client/src/components/MapLegend/tests/__snapshots__/mapLegend.test.tsx.snap index f772b0dd..a464fdc3 100644 --- a/client/src/components/MapLegend/tests/__snapshots__/mapLegend.test.tsx.snap +++ b/client/src/components/MapLegend/tests/__snapshots__/mapLegend.test.tsx.snap @@ -18,8 +18,8 @@ exports[`rendering of the MapLegend checks if snapshots have changed 1`] = ` class="secondary" > - Communities identified as disadvantaged by the map are those that are marginalized, underserved, - and overburdened by pollution. These communities are at or above the thresholds in one or + Communities identified as disadvantaged by the map are those that are marginalized, underserved, + and overburdened by pollution. These communities are at or above the thresholds in one or more of eight categories of criteria.
diff --git a/client/src/components/SidePanelInfo/__snapshots__/SidePanelInfo.test.tsx.snap b/client/src/components/SidePanelInfo/__snapshots__/SidePanelInfo.test.tsx.snap index 332c2f33..15688eec 100644 --- a/client/src/components/SidePanelInfo/__snapshots__/SidePanelInfo.test.tsx.snap +++ b/client/src/components/SidePanelInfo/__snapshots__/SidePanelInfo.test.tsx.snap @@ -34,7 +34,7 @@ exports[`rendering of the component expects the render to match snapshot 1`] = ` tabindex="0" /> - , or locate yourself + , or locate yourself