add download attribute to <a> tag

This commit is contained in:
Vim USDS 2022-04-04 10:35:11 -07:00
parent e7ab0f8ff7
commit 7c66ecb901
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@ const DownloadPacket = () => {
</span>
</div>
<div className={styles.downloadBoxButtonContainer}>
<a data-cy={'download-link'} href={METHODOLOGY_COPY.DOWNLOAD_ZIP_URL}>
<a data-cy={'download-link'} download href={METHODOLOGY_COPY.DOWNLOAD_ZIP_URL}>
<Button className={styles.downloadBoxButton} type="button">
<div>
<img src={downloadIcon} alt={'download icon for download package'}/>

View file

@ -420,6 +420,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
<a
data-cy="download-link"
download=""
href="//"
>
<button