Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 30, 2024
1 parent 9dd6335 commit a315adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/get-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test('get preview for spotify artist', async t => {
const preview = await getPreview(url)
t.is(preview.date, undefined)
t.is(preview.description, 'Top tracks')
t.is(preview.track, 'Reason Why (feat. Kim Petras and BC Kingdom)')
t.is(preview.track, 'Ponyboy')
t.is(preview.title, 'SOPHIE')
t.is(preview.type, 'artist')

Expand Down
2 changes: 1 addition & 1 deletion test/get-tracks.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test('get tracks for spotify artist', async t => {
const url = 'https://open.spotify.com/artist/5a2w2tgpLwv26BYJf2qYwu'
const tracks = await getTracks(url)
t.true(Array.isArray(tracks))
t.is(tracks[0].name, 'Reason Why (feat. Kim Petras and BC Kingdom)')
t.is(tracks[0].name, 'Ponyboy')
t.is(tracks[0].previewUrl.includes('/mp3-preview/'), true)
})

Expand Down

0 comments on commit a315adc

Please sign in to comment.