From 047cc84ea7e600e1ce17194b68f4411c470bc3b6 Mon Sep 17 00:00:00 2001 From: Randi Mays Date: Tue, 7 May 2024 12:44:01 -0500 Subject: [PATCH] VACMS-16964 VAMC Locations web components --- .../static-pages/facilities/FacilityApiAlert.jsx | 2 +- .../static-pages/facilities/OtherFacilityListWidget.jsx | 7 ++++--- .../facilities/tests/OtherFacilityListWidget.unit.spec.jsx | 5 ----- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/applications/static-pages/facilities/FacilityApiAlert.jsx b/src/applications/static-pages/facilities/FacilityApiAlert.jsx index 14f4d0d8a83f..15c17f69548f 100644 --- a/src/applications/static-pages/facilities/FacilityApiAlert.jsx +++ b/src/applications/static-pages/facilities/FacilityApiAlert.jsx @@ -7,7 +7,7 @@ const FacilityApiAlert = () => (

Our location finder isn’t working right now. We’re sorry about that. Please check back a bit later. Or, if you need location details right - away, you can try searching for + away, you can try searching for  

- - {facility.attributes.name} - +

diff --git a/src/applications/static-pages/facilities/tests/OtherFacilityListWidget.unit.spec.jsx b/src/applications/static-pages/facilities/tests/OtherFacilityListWidget.unit.spec.jsx index d94c63761003..95e78a5bfe7c 100644 --- a/src/applications/static-pages/facilities/tests/OtherFacilityListWidget.unit.spec.jsx +++ b/src/applications/static-pages/facilities/tests/OtherFacilityListWidget.unit.spec.jsx @@ -29,11 +29,6 @@ describe('facilities ', () => { tree.update(); expect(tree.find('va-loading-indicator').exists()).to.be.false; - const facilityName = tree.find('h3'); - expect(facilityName.text()).to.contain( - 'Pittsburgh VA Medical Center-University Drive', - ); - const facilityAddressComponent = tree.find('FacilityAddress').dive(); const address = facilityAddressComponent.find('address'); expect(address.text()).to.contain(