mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-08 18:37:09 +02:00
style: fix prettier formatting in subsonic test
This commit is contained in:
parent
d8abe80d2c
commit
c82755bdf5
1 changed files with 20 additions and 4 deletions
|
|
@ -31,7 +31,11 @@ describe('getCoverArtUrl', () => {
|
|||
updatedAt: '2023-01-01T00:00:00Z',
|
||||
}
|
||||
|
||||
const url = subsonic.getCoverArtUrl(playlistRecord, config.uiCoverArtSize, true)
|
||||
const url = subsonic.getCoverArtUrl(
|
||||
playlistRecord,
|
||||
config.uiCoverArtSize,
|
||||
true,
|
||||
)
|
||||
|
||||
expect(url).toContain('pl-playlist-123')
|
||||
expect(url).toContain('size=600')
|
||||
|
|
@ -45,7 +49,11 @@ describe('getCoverArtUrl', () => {
|
|||
sync: true,
|
||||
}
|
||||
|
||||
const url = subsonic.getCoverArtUrl(playlistRecord, config.uiCoverArtSize, true)
|
||||
const url = subsonic.getCoverArtUrl(
|
||||
playlistRecord,
|
||||
config.uiCoverArtSize,
|
||||
true,
|
||||
)
|
||||
|
||||
expect(url).toContain('pl-playlist-123')
|
||||
expect(url).toContain('size=600')
|
||||
|
|
@ -60,7 +68,11 @@ describe('getCoverArtUrl', () => {
|
|||
updatedAt: '2023-01-01T00:00:00Z',
|
||||
}
|
||||
|
||||
const url = subsonic.getCoverArtUrl(albumRecord, config.uiCoverArtSize, true)
|
||||
const url = subsonic.getCoverArtUrl(
|
||||
albumRecord,
|
||||
config.uiCoverArtSize,
|
||||
true,
|
||||
)
|
||||
|
||||
expect(url).toContain('al-album-123')
|
||||
expect(url).toContain('size=600')
|
||||
|
|
@ -87,7 +99,11 @@ describe('getCoverArtUrl', () => {
|
|||
updatedAt: '2023-01-01T00:00:00Z',
|
||||
}
|
||||
|
||||
const url = subsonic.getCoverArtUrl(artistRecord, config.uiCoverArtSize, true)
|
||||
const url = subsonic.getCoverArtUrl(
|
||||
artistRecord,
|
||||
config.uiCoverArtSize,
|
||||
true,
|
||||
)
|
||||
|
||||
expect(url).toContain('ar-artist-123')
|
||||
expect(url).toContain('size=600')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue