fix: support localized Spotify URLs #67
Annotations
4 errors and 1 warning
error: expect(received).toEqual(expected):
tests/integration/search/playlist.test.ts#L74
{
5.2M likes",
+ id: "b3Blbi5zcG90aWZ5LmNvbS9wbGF5bGlzdC8zN2k5ZFFaRjFEWDJhcFd6eUVDd3la",
- id: "37i9dQZF1DX2apWzyECwyZ",
image: "https://i.scdn.co/image/ab67706f000000029c0eb2fdff534f803ea018e1",
links: [
{
isVerified: true,
type: "youTube",
url: "https://music.youtube.com/playlist?list=RDCLAK5uy_k3jElZuYeDhqZsFkUnRf519q4CD52CaRY",
},
{
isVerified: false,
type: "appleMusic",
url: "https://music.apple.com/us/playlist/bad-bunny-veranito/pl.3160473c423f407c979deb589b41046e",
},
{
isVerified: true,
type: "deezer",
url: "https://www.deezer.com/playlist/3370896142",
},
{
isVerified: true,
type: "soundCloud",
url: "https://soundcloud.com/rafael-moreno-180913328/sets/this-is-bad-bunny",
},
{
type: "tidal",
url: "https://listen.tidal.com/search?q=This+Is+Bad+Bunny+Playlist",
}
],
source: "https://open.spotify.com/playlist/37i9dQZF1DX2apWzyECwyZ",
title: "This Is Bad Bunny",
type: "playlist",
universalLink: "http://localhost:4000/2saYhYg",
}
- Expected - 1
+ Received + 1
at /home/runner/work/idonthavespotify/idonthavespotify/tests/integration/search/playlist.test.ts:74:22
|
error: expect(received).toEqual(expected):
tests/integration/search/artist.test.ts#L74
{
45.1M monthly listeners.",
+ id: "b3Blbi5zcG90aWZ5LmNvbS9hcnRpc3QvNmwzSHZRNXNhNm1YVHNNVEIxOXJPNQ%3D%3D",
- id: "6l3HvQ5sa6mXTsMTB19rO5",
image: "https://i.scdn.co/image/ab6761610000e5ebadd503b411a712e277895c8a",
links: [
{
isVerified: true,
type: "youTube",
url: "https://music.youtube.com/channel/UC0ajkOzj8xE3Gs3LHCE243A",
},
{
isVerified: true,
type: "appleMusic",
url: "https://music.apple.com/us/artist/j-cole/73705833",
},
{
isVerified: true,
type: "deezer",
url: "https://www.deezer.com/artist/339209",
},
{
isVerified: true,
type: "soundCloud",
url: "https://soundcloud.com/j-cole",
},
{
type: "tidal",
url: "https://listen.tidal.com/search?q=J.+Cole",
}
],
source: "https://open.spotify.com/artist/6l3HvQ5sa6mXTsMTB19rO5",
title: "J. Cole",
type: "artist",
universalLink: "http://localhost:4000/2saYhYg",
}
- Expected - 1
+ Received + 1
at /home/runner/work/idonthavespotify/idonthavespotify/tests/integration/search/artist.test.ts:74:22
|
error: expect(received).toEqual(expected):
tests/integration/search/show.test.ts#L66
{
",
+ id: "b3Blbi5zcG90aWZ5LmNvbS9zaG93LzZvODFRdVcyMnM1bTJuZmNYV2p1Y2M%3D",
- id: "6o81QuW22s5m2nfcXWjucc",
image: "https://i.scdn.co/image/ab6765630000ba8aa05ac56dbc44378f45ef693a",
links: [
{
isVerified: true,
type: "youTube",
url: "https://music.youtube.com/watch?v=v4FYdo-oZQk&list=PL70yIS6vx_Y2xaKD3w2qb6Eu06jNBdNJb",
},
{
isVerified: true,
type: "deezer",
url: "https://www.deezer.com/show/1437252",
},
{
type: "tidal",
url: "https://listen.tidal.com/search?q=Waveform%3A+The+MKBHD+Podcast",
}
],
source: "https://open.spotify.com/show/6o81QuW22s5m2nfcXWjucc",
title: "Waveform: The MKBHD Podcast",
type: "show",
universalLink: "http://localhost:4000/2saYhYg",
}
- Expected - 1
+ Received + 1
at /home/runner/work/idonthavespotify/idonthavespotify/tests/integration/search/show.test.ts:66:22
|
tests
Process completed with exit code 1.
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|