@@ -3190,12 +3162,7 @@ exports[`rendering of the Islan areas in AreaDetail checks if indicators for PUE
th
-
-

-
+
@@ -3234,12 +3201,7 @@ exports[`rendering of the Islan areas in AreaDetail checks if indicators for PUE
98%
-
-

-
+
diff --git a/client/src/components/Indicator/Indicator.test.tsx b/client/src/components/Indicator/Indicator.test.tsx
index f648d80e..92ab4fdf 100644
--- a/client/src/components/Indicator/Indicator.test.tsx
+++ b/client/src/components/Indicator/Indicator.test.tsx
@@ -47,68 +47,11 @@ describe('rendering of the Indicator', () => {
});
describe('test rendering of Indicator value icons', () => {
- it('renders the up arrow when value is above threshold', () => {
+ it('renders the unavailable icon when the value is null', () => {
const {asFragment} = render(
- ,
- );
- expect(asFragment()).toMatchSnapshot();
- screen.getByAltText(EXPLORE_COPY.SIDE_PANEL_VALUES.IMG_ALT_TEXT.ARROW_UP.defaultMessage);
- });
- it('renders the down arrow when the value is above the threshold', () => {
- const {asFragment} = render(
-
-
- ,
- );
- expect(asFragment()).toMatchSnapshot();
- screen.getByAltText(EXPLORE_COPY.SIDE_PANEL_VALUES.IMG_ALT_TEXT.ARROW_DOWN.defaultMessage);
- });
-
- it('renders the down arrow when the value is zero', () => {
- const {asFragment} = render(
-
-
- ,
- );
- expect(asFragment()).toMatchSnapshot();
- screen.getByAltText(EXPLORE_COPY.SIDE_PANEL_VALUES.IMG_ALT_TEXT.ARROW_DOWN.defaultMessage);
- });
-
- it('renders the unavailable icon when the value is a boolean null', () => {
- const {asFragment} = render(
-
-
- ,
- );
- expect(asFragment()).toMatchSnapshot();
- screen.getByAltText(EXPLORE_COPY.SIDE_PANEL_VALUES.IMG_ALT_TEXT.UNAVAILABLE.defaultMessage);
- });
-
- it('renders the unavailable icon when the value is a percentile null', () => {
- const {asFragment} = render(
-
-
,
);
diff --git a/client/src/components/Indicator/__snapshots__/Indicator.test.tsx.snap b/client/src/components/Indicator/__snapshots__/Indicator.test.tsx.snap
index 4e44d9f5..96a48b8f 100644
--- a/client/src/components/Indicator/__snapshots__/Indicator.test.tsx.snap
+++ b/client/src/components/Indicator/__snapshots__/Indicator.test.tsx.snap
@@ -20,12 +20,7 @@ exports[`rendering of the Indicator checks if component renders 1`] = `
97%
-
-

-
+
@@ -62,12 +57,7 @@ exports[`rendering of the Indicator checks if the flooring function works 1`] =
42%
-
-

-
+