Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Oct 2, 2024
1 parent 763da9d commit 147ff5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
<DownloadDialog
downloadParams={downloadParams}
Expand Down Expand Up @@ -87,7 +87,7 @@ describe('DownloadDialog', () => {
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();

Expand Down

0 comments on commit 147ff5e

Please sign in to comment.