From 147ff5ee35734076886a505760f2b4fcf07041dc Mon Sep 17 00:00:00 2001 From: Felix Hennig Date: Wed, 2 Oct 2024 17:55:08 +0100 Subject: [PATCH] fix --- .../SearchPage/DownloadDialog/DownloadDialog.spec.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx b/website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx index 9a5fcf49c..794f55564 100644 --- a/website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx +++ b/website/src/components/SearchPage/DownloadDialog/DownloadDialog.spec.tsx @@ -19,7 +19,7 @@ const defaultReferenceGenome: ReferenceGenomesSequenceNames = { const defaultLapisUrl = 'https://lapis'; -async function renderDialog(downloadParams: DownloadParameters = { type: 'select', selectedSequences: [] }) { +async function renderDialog(downloadParams: DownloadParameters = { type: 'select', selectedSequences: new Set([]) }) { render( { test('should generate the right download link from selected sequences', async () => { await renderDialog({ type: 'select', - selectedSequences: ['SEQID1', 'SEQID2'], + selectedSequences: new Set(['SEQID1', 'SEQID2']), }); await checkAgreement();