Linkout wip #2535
website-tests.yml
on: pull_request
Check format and types
1m 48s
Unit Tests
45s
Annotations
14 errors and 3 warnings
src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx > DownloadDialog > should generate the right download link from filters:
website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx#L67
AssertionError: expected 'downloadAsFile=true&downloadFileBasen…' to match /downloadAsFile=true&downloadFileBasen…/
- Expected:
/downloadAsFile=true&downloadFileBasename=ebola_nuc_\d{4}-\d{2}-\d{2}T\d{4}&dataUseTerms=OPEN&compression=gzip&accession=accession1&accession=accession2&field1=value1/
+ Received:
"downloadAsFile=true&downloadFileBasename=ebola_nuc_2024-12-14T0117&dataUseTerms=OPEN&dataFormat=fasta&compression=gzip&accession=accession1&accession=accession2&field1=value1"
❯ src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx:67:23
|
src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx > DownloadDialog > should generate the right download link from selected sequences:
website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx#L97
AssertionError: expected 'downloadAsFile=true&downloadFileBasen…' to match /downloadAsFile=true&downloadFileBasen…/
- Expected:
/downloadAsFile=true&downloadFileBasename=ebola_nuc_\d{4}-\d{2}-\d{2}T\d{4}&dataUseTerms=OPEN&compression=gzip&accessionVersion=SEQID1&accessionVersion=SEQID2/
+ Received:
"downloadAsFile=true&downloadFileBasename=ebola_nuc_2024-12-14T0117&dataUseTerms=OPEN&dataFormat=fasta&compression=gzip&accessionVersion=SEQID1&accessionVersion=SEQID2"
❯ src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx:97:23
|
Unit Tests
Process completed with exit code 1.
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L1
`react` import should occur after import of `@headlessui/react`
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L2
There should be at least one empty line between import groups
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L3
`~icons/iwwa/arrow-down` import should occur after import of `../../../utils/templateProcessor`
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L4
`~icons/dashicons/external` import should occur after import of `../../../utils/templateProcessor`
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L27
'referenceGenomesSequenceNames' is defined but never used
|
Check format and types:
website/src/components/SearchPage/DownloadDialog/LinkOutMenu.tsx#L54
Expected property shorthand
|
Check format and types:
website/src/components/SearchPage/SearchFullUI.tsx#L24
`./DownloadDialog/LinkOutMenu.tsx` import should occur before import of `./DownloadDialog/SequenceFilters.tsx`
|
Check format and types:
website/src/components/SearchPage/SearchFullUI.tsx#L25
'../../types/config.ts' import is duplicated
|
Check format and types:
website/src/components/SearchPage/SearchFullUI.tsx#L25
`../../types/config.ts` type import should occur before import of `../../types/lapis.ts`
|
Check format and types
Process completed with exit code 1.
|
Check format and types
Process completed with exit code 1.
|
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check format and types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check format and types:
website/src/layouts/BaseLayout.astro#L3
Parse errors in imported module 'react-toastify': parser.parse is not a function (undefined:undefined)
|