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')
|
||
|
})
|
||
|
})
|
||
|
})
|