diff --git a/containers/ecr-viewer/src/app/tests/components/LabInfo.test.tsx b/containers/ecr-viewer/src/app/tests/components/LabInfo.test.tsx index 8257561d66..3b8cc59344 100644 --- a/containers/ecr-viewer/src/app/tests/components/LabInfo.test.tsx +++ b/containers/ecr-viewer/src/app/tests/components/LabInfo.test.tsx @@ -16,6 +16,9 @@ describe("LabInfo", () => { evaluate(BundleLab, mappings["diagnosticReports"]), mappings, ); + // Empty out one of the lab names for testing + labinfoOrg[0].organizationDisplayDataProps[0].value = ""; + const labInfoJsx = ; it("all should be collapsed by default", () => { diff --git a/containers/ecr-viewer/src/app/tests/components/__snapshots__/LabInfo.test.tsx.snap b/containers/ecr-viewer/src/app/tests/components/__snapshots__/LabInfo.test.tsx.snap index 9f5c6bc124..4a914ddfde 100644 --- a/containers/ecr-viewer/src/app/tests/components/__snapshots__/LabInfo.test.tsx.snap +++ b/containers/ecr-viewer/src/app/tests/components/__snapshots__/LabInfo.test.tsx.snap @@ -14,32 +14,13 @@ exports[`LabInfo should match snapshot test 1`] = `

- Lab Results from PROVIDENCE ST. JOSEPH MEDICAL CENTER LABORATORY (CLIA 05D0672675) + Lab Results from Unknown Organization

-
-
-
- Lab Performing Name -
-
- PROVIDENCE ST. JOSEPH MEDICAL CENTER LABORATORY (CLIA 05D0672675) -
-
-
-