Fix broken EJScreen Link (#2191)

* Update to replace broken EPA link

* Update tests for EPA link change
This commit is contained in:
Travis Newby 2023-03-08 07:20:15 -06:00 committed by GitHub
commit 2d4d167976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 15 deletions

View file

@ -563,7 +563,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -1381,7 +1381,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -1432,7 +1432,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -1551,7 +1551,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -1662,7 +1662,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>

View file

@ -611,7 +611,7 @@ export const SOURCE_LINKS = {
`}
description={'Navigate to the Methodology page. This is the source link for EPA OAR'}
values={{
link1: linkFn('https://www.epa.gov/ejscreen/technical-documentation-ejscreen', false, true),
link1: linkFn('https://www.epa.gov/ejscreen/download-ejscreen-data', false, true),
date17: DATE_RANGE.SEVENTEEN,
}}
/>,
@ -620,7 +620,7 @@ export const SOURCE_LINKS = {
defaultMessage={`<link1>National Air Toxics Assessment (NATA)</link1> from {date14} as compiled by EPA's EJScreen`}
description={'Navigate to the Methodology page. This is the source link for EPA NATA'}
values={{
link1: linkFn('https://www.epa.gov/ejscreen/technical-documentation-ejscreen', false, true),
link1: linkFn('https://www.epa.gov/ejscreen/download-ejscreen-data', false, true),
date14: DATE_RANGE.FOURTEEN,
}}
/>,
@ -629,7 +629,7 @@ export const SOURCE_LINKS = {
defaultMessage={`<link1>Traffic data</link1> from {date17} as compiled by EPA's EJScreen`}
description={'Navigate to the Methodology page. This is the source link for DOT EPA'}
values={{
link1: linkFn('https://www.epa.gov/ejscreen/technical-documentation-ejscreen', false, true),
link1: linkFn('https://www.epa.gov/ejscreen/download-ejscreen-data', false, true),
date17: DATE_RANGE.SEVENTEEN,
}}
/>,
@ -668,7 +668,7 @@ export const SOURCE_LINKS = {
defaultMessage={`<link1>RMP database</link1> from {date20} as compiled by EPAs EJScreen`}
description={'Navigate to the Methodology page. This is the source link for EPA RMP'}
values={{
link1: linkFn('https://www.epa.gov/ejscreen/technical-documentation-ejscreen', false, true),
link1: linkFn('https://www.epa.gov/ejscreen/download-ejscreen-data', false, true),
date20: DATE_RANGE.TWENTY,
}}
/>,
@ -677,7 +677,7 @@ export const SOURCE_LINKS = {
defaultMessage={`<link1>Risk-Screening Environmental Indicators (RSEI) model</link1> from {date20} as compiled by EPAs EJScreen`}
description={'Navigate to the Methodology page. This is the source link for EPA RSEI'}
values={{
link1: linkFn('https://www.epa.gov/ejscreen/technical-documentation-ejscreen', false, true),
link1: linkFn('https://www.epa.gov/ejscreen/download-ejscreen-data', false, true),
date20: DATE_RANGE.TWENTY,
}}
/>,

View file

@ -1542,7 +1542,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -2360,7 +2360,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -2411,7 +2411,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -2530,7 +2530,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>
@ -2641,7 +2641,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.epa.gov/ejscreen/technical-documentation-ejscreen"
href="https://www.epa.gov/ejscreen/download-ejscreen-data"
rel="noreferrer"
target="_blank"
>