mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-06 06:46:02 +00:00
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
|
import { aggregateDownloadLinks } from '../../../src/utils/downloads'
|
||
|
|
||
|
describe('download utils', () => {
|
||
|
describe('aggregateDownloadLinks', () => {
|
||
|
it('merges links into a single string', () => {
|
||
|
const release = { link: 'abcde' }
|
||
|
const aggregated = aggregateDownloadLinks([release, release])
|
||
|
|
||
|
expect(aggregated).toBe('abcde;abcde')
|
||
|
})
|
||
|
})
|
||
|
})
|