diff --git a/ui/src/share/SharePlayer.test.jsx b/ui/src/share/SharePlayer.test.jsx index fa37495c5..dad0acad7 100644 --- a/ui/src/share/SharePlayer.test.jsx +++ b/ui/src/share/SharePlayer.test.jsx @@ -209,7 +209,7 @@ describe('SharePlayer', () => { expect(createdLinks[0].href).toContain('/share/d/share-1') expect(createdLinks[0].download).toBe('My Playlist.zip') expect(createdLinks[0].click).toHaveBeenCalled() - expect(createdLinks[0]).not.toBeInTheDocument() + expect(createdLinks[0]).not.toBeInTheDocument() }) it('closes the dialog after clicking "All Tracks"', async () => { @@ -287,7 +287,7 @@ describe('SharePlayer', () => { expect(createdLinks).toHaveLength(1) expect(createdLinks[0].href).toContain('download=true') expect(createdLinks[0].click).toHaveBeenCalled() - expect(createdLinks[0]).not.toBeInTheDocument() + expect(createdLinks[0]).not.toBeInTheDocument() }) }) }) diff --git a/ui/src/utils/urls.test.js b/ui/src/utils/urls.test.js index 5b07cbbc3..4eea57814 100644 --- a/ui/src/utils/urls.test.js +++ b/ui/src/utils/urls.test.js @@ -37,7 +37,9 @@ describe('toDownloadUrl', () => { }) it('preserves existing query parameters', () => { - const result = toDownloadUrl('https://example.com/share/s/abc123?format=mp3') + const result = toDownloadUrl( + 'https://example.com/share/s/abc123?format=mp3', + ) const url = new URL(result) expect(url.searchParams.get('format')).toBe('mp3') expect(url.searchParams.get('download')).toBe('true')