test: add tests for all modules #41
ci.yaml
on: push
Test and Deploy to Staging
17s
Annotations
10 errors
src/modules/artists/controllers/artist.controller.spec.ts > ArtistController > retrieve artist's songs:
src/modules/artists/controllers/artist.controller.spec.ts#L49
Error: Snapshot mismatched
- Expected
+ Received
Object {
- "songs": ArrayContaining [
- ObjectContaining {
- "playCount": Any<Number>,
- },
- ],
+ "songs": Array [],
"total": Any<Number>,
}
❯ src/modules/artists/controllers/artist.controller.spec.ts:49:18
|
src/modules/artists/controllers/artist.controller.spec.ts > ArtistController > retrieve artist's albums:
src/modules/artists/controllers/artist.controller.spec.ts#L64
Error: Snapshot mismatched
- Expected
+ Received
Object {
- "albums": ArrayContaining [
- ObjectContaining {
- "playCount": Any<Number>,
- },
- ],
+ "albums": Array [],
"total": Any<Number>,
}
❯ src/modules/artists/controllers/artist.controller.spec.ts:64:18
|
src/modules/playlists/controllers/playlist.controller.spec.ts > PlaylistController > retrieve playlist by link:
src/modules/playlists/controllers/playlist.controller.spec.ts#L21
Error: Snapshot `PlaylistController > retrieve playlist by link 1` mismatched
- Expected
+ Received
@@ -1,311 +1,72 @@
{
"artists": [
{
- "id": "1546334",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_500x500.jpg",
- },
- ],
- "name": "Prateek Kuhad",
- "role": "singer",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/prateek-kuhad-songs/udEDVH0llw0_",
- },
- {
- "id": "1546334",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_500x500.jpg",
- },
- ],
- "name": "Prateek Kuhad",
- "role": "lyricist",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/prateek-kuhad-songs/udEDVH0llw0_",
- },
- {
- "id": "4230717",
- "image": [],
- "name": "Brandon Shoop",
- "role": "lyricist",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/brandon-shoop-songs/z3nUd3NG6cs_",
- },
- {
- "id": "467027",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_500x500.jpg",
- },
- ],
- "name": "Shalmali",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/shalmali-songs/AmvCYXtSRAU_",
- },
- {
- "id": "2737681",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_500x500.jpg",
- },
- ],
- "name": "Natania",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/natania-songs/08-ViIgdTvw_",
- },
- {
- "id": "3372836",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-500x500.jpg",
- },
- ],
- "name": "Miranda Glory",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/miranda-glory-songs/J5TeCH7Cc,A_",
- },
- {
- "id": "467027",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_50x50.jpg
|
src/modules/playlists/controllers/playlist.controller.spec.ts > PlaylistController > retrieve playlist by ID:
src/modules/playlists/controllers/playlist.controller.spec.ts#L36
Error: Snapshot `PlaylistController > retrieve playlist by ID 1` mismatched
- Expected
+ Received
@@ -1,287 +1,48 @@
{
"artists": [
{
- "id": "1546334",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_500x500.jpg",
- },
- ],
- "name": "Prateek Kuhad",
- "role": "singer",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/prateek-kuhad-songs/udEDVH0llw0_",
- },
- {
- "id": "1546334",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Prateek_Kuhad_005_20230506101352_500x500.jpg",
- },
- ],
- "name": "Prateek Kuhad",
- "role": "lyricist",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/prateek-kuhad-songs/udEDVH0llw0_",
- },
- {
- "id": "4230717",
- "image": [],
- "name": "Brandon Shoop",
- "role": "lyricist",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/brandon-shoop-songs/z3nUd3NG6cs_",
- },
- {
- "id": "467027",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_500x500.jpg",
- },
- ],
- "name": "Shalmali",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/shalmali-songs/AmvCYXtSRAU_",
- },
- {
- "id": "2737681",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Natania_Lalwani_001_20191128084944_500x500.jpg",
- },
- ],
- "name": "Natania",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/natania-songs/08-ViIgdTvw_",
- },
- {
- "id": "3372836",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/485/With-U-2-English-2019-20190212150435-500x500.jpg",
- },
- ],
- "name": "Miranda Glory",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/miranda-glory-songs/J5TeCH7Cc,A_",
- },
- {
- "id": "467027",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Shalmali_Kholgade_004_20200226073940_50x50.jpg",
|
src/modules/search/controllers/search.controller.spec.ts > SearchController > search everything:
src/modules/search/controllers/search.controller.spec.ts#L29
Error: Snapshot `SearchController > search everything 1` mismatched
- Expected
+ Received
@@ -1,108 +1,80 @@
{
"albums": {
- "position": 2,
+ "position": 1,
+ "results": [],
+ },
+ "artists": {
+ "position": 4,
"results": [
{
- "description": "2022 · English Album · Imagine Dragons",
- "id": "33436571",
+ "description": "Singer",
+ "id": "4992352",
"image": [
{
"quality": "50x50",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-50x50.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-music.png",
},
{
"quality": "150x150",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-150x150.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-music.png",
},
{
"quality": "500x500",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-500x500.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-music.png",
},
],
- "language": "english",
- "songIds": "yDeAS8Eh",
- "title": "Bones",
- "type": "album",
- "year": "2022",
- },
- {
- "description": "2022 · English Album · Imagine Dragons, Twocolors",
- "id": "39311737",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/601/Bones-twocolors-Remix-English-2022-20221026181026-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/601/Bones-twocolors-Remix-English-2022-20221026181026-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/601/Bones-twocolors-Remix-English-2022-20221026181026-500x500.jpg",
- },
- ],
- "language": "english",
- "songIds": "inDrtluD",
- "title": "Bones (twocolors Remix)",
- "type": "album",
- "year": "2022",
+ "position": 2,
+ "title": "Kygo & Imagine Dragons",
+ "type": "artist",
},
{
- "description": "2024 · Album · Alhanii",
- "id": "52199809",
+ "description": "Artist",
+ "id": "13646546",
"image": [
{
"quality": "50x50",
- "url": "https://c.saavncdn.com/944/Bones-Unknown-2024-20240226103425-50x50.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-film.png",
},
{
"quality": "150x150",
- "url": "https://c.saavncdn.com/944/Bones-Unknown-2024-20240226103425-150x150.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-film.png",
},
{
"quality": "500x500",
- "url": "https://c.saavncdn.com/944/Bones-Unknown-2024-20240226103425-500x500.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-film.png",
},
],
- "language": "unknown",
- "songIds": "F-oqZAXE",
- "title": "Bones",
- "type": "album",
- "year": "2024",
+ "position": 3,
+ "title": "INC. OBO IMAGINE DRAGONS PUB",
+ "type": "artist",
},
- ],
- },
- "artists": {
- "position": 1,
- "results": [
{
- "description": "Singer",
- "id": "599452",
+ "description": "Artist",
+ "id": "13647141",
"image": [
{
"quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Imagine_Dragons_50x50.jpg",
+ "url": "https://www.jiosaavn.com/_i/3.0/artist-default-film.png",
},
{
"quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Imagine_Dragons_150x150.jpg",
+ "url": "https://www.jiosaav
|
src/modules/search/controllers/search.controller.spec.ts > SearchController > search albums:
src/modules/search/controllers/search.controller.spec.ts#L52
Error: Snapshot mismatched
- Expected
+ Received
Object {
- "results": ArrayContaining [
- ObjectContaining {
- "playCount": Any<Number>,
- },
- ],
+ "results": Array [],
+ "start": -9,
"total": Any<Number>,
}
❯ src/modules/search/controllers/search.controller.spec.ts:52:18
|
src/modules/artists/use-cases/get-artist-albums/get-artist-albums.use-case.spec.ts > GetArtistAlbums > should get artist albums by artist id and return a list of albums:
src/modules/artists/use-cases/get-artist-albums/get-artist-albums.use-case.spec.ts#L19
Error: Snapshot `GetArtistAlbums > should get artist albums by artist id and return a list of albums 1` mismatched
- Expected
+ Received
{
- "albums": [
- {
- "artists": {
- "all": [
- {
- "id": "1274170",
- "image": [],
- "name": "Dua Lipa",
- "role": "singers",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/dua-lipa-songs/r-OWIKgpX2I_",
- },
- ],
- "featured": [],
- "primary": [
- {
- "id": "1274170",
- "image": [],
- "name": "Dua Lipa",
- "role": "primary_artists",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/dua-lipa-songs/r-OWIKgpX2I_",
- },
- ],
- },
- "description": "",
- "explicitContent": false,
- "id": "18530106",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/664/Don-t-Start-Now-Remixes--English-2020-20200107060932-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/664/Don-t-Start-Now-Remixes--English-2020-20200107060932-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/664/Don-t-Start-Now-Remixes--English-2020-20200107060932-500x500.jpg",
- },
- ],
- "language": "english",
- "name": "Don't Start Now (Remixes)",
- "playCount": 0,
- "songCount": 6,
- "type": "album",
- "url": "https://www.jiosaavn.com/album/dont-start-now-remixes/rIF8xV9lgDQ_",
- "year": 2020,
- },
- {
- "artists": {
- "all": [
- {
- "id": "573802",
- "image": [],
- "name": "Clarence Coffee Jr",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/clarence-coffee-jr-songs/2mX96rBxCYU_",
- },
- {
- "id": "1274170",
- "image": [],
- "name": "Dua Lipa",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/dua-lipa-songs/r-OWIKgpX2I_",
- },
- {
- "id": "566172",
- "image": [],
- "name": "Jeff Bhasker",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/jeff-bhasker-songs/lnl3ESr3WQo_",
- },
- {
- "id": "613919",
- "image": [],
- "name": "Ben Kohn",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/ben-kohn-songs/TktBXZIk6lY_",
- },
- {
- "id": "678029",
- "image": [],
- "name": "Camille Purcell",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/camille-purcell-songs/eikyrmwHNEY_",
- },
- {
- "id": "632102",
- "image": [],
- "name": "Pete Kelleher",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/pete-kelleher-songs/nYZUreZf,b8_",
- },
- {
- "id": "882822",
- "image": [],
- "name": "Shakka Philip",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/shakka-philip-songs/uuvVFJ5qi08_",
- },
- {
- "id": "613921",
- "image": [],
- "name": "Tom Barnes",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/tom-barnes-songs/ObvZUE45DcA_",
- },
- {
- "id": "707698",
- "image": [],
- "name": "Tove Lo"
|
src/modules/artists/use-cases/get-artist-songs/get-artist-songs.use-case.spec.ts > GetArtistSongs > should get artist songs by artist id and return a list of songs:
src/modules/artists/use-cases/get-artist-songs/get-artist-songs.use-case.spec.ts#L19
Error: Snapshot `GetArtistSongs > should get artist songs by artist id and return a list of songs 1` mismatched
- Expected
+ Received
{
- "songs": [
- {
- "album": {
- "id": "28989509",
- "name": "Cold Heart (PNAU Remix)",
- "url": "https://www.jiosaavn.com/album/cold-heart-pnau-remix/-lf6ymojqKs_",
- },
- "artists": {
- "all": [
- {
- "id": "740046",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/603/Ene-English-2017-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/603/Ene-English-2017-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/603/Ene-English-2017-500x500.jpg",
- },
- ],
- "name": "Nicholas Littlemore",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/nicholas-littlemore-songs/yr3Yogzc-KM_",
- },
- {
- "id": "612731",
- "image": [],
- "name": "Peter Mayes",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/peter-mayes-songs/CQhhulZmt9c_",
- },
- {
- "id": "680520",
- "image": [],
- "name": "Sam Littlemore",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/sam-littlemore-songs/d9ST8fsTGys_",
- },
- {
- "id": "518438",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Elton_John_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/artists/Elton_John_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/artists/Elton_John_500x500.jpg",
- },
- ],
- "name": "Elton John",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/elton-john-songs/StFcDog7qS4_",
- },
- {
- "id": "518323",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/008/He-Who-Rides-The-Tiger-English-1980-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/008/He-Who-Rides-The-Tiger-English-1980-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/008/He-Who-Rides-The-Tiger-English-1980-500x500.jpg",
- },
- ],
- "name": "Bernie Taupin",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/bernie-taupin-songs/z76mC1tqkPo_",
- },
- {
- "id": "679480",
- "image": [],
- "name": "Dean Meredith",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/dean-meredith-songs/V1SJ2M4lFs4_",
- },
- {
- "id": "679479",
- "image": [],
- "name": "Andrew Meecham",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/andrew-meecham-songs/AHAW0T4nqNo_",
- },
- {
- "id": "518438",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/artists/Elton_John_50x50.jpg",
- },
-
|
src/modules/search/use-cases/search-albums/search-albums.use-case.spec.ts > SearchAlbums > should search albums by query and return a list of albums:
src/modules/search/use-cases/search-albums/search-albums.use-case.spec.ts#L14
Error: Snapshot `SearchAlbums > should search albums by query and return a list of albums 1` mismatched
- Expected
+ Received
@@ -2,618 +2,62 @@
"results": [
{
"artists": {
"all": [
{
- "id": "599453",
- "image": [],
- "name": "Dan Reynolds",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/dan-reynolds-songs/xoeLrr0aTEU_",
- },
- {
- "id": "599454",
- "image": [],
- "name": "Wayne Sermon",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/wayne-sermon-songs/,WHkVDnJnD8_",
- },
- {
- "id": "599455",
- "image": [],
- "name": "Ben Mckee",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/ben-mckee-songs/EA7FaJms-k8_",
- },
- {
- "id": "914898",
+ "id": "16535286",
"image": [],
- "name": "Daniel Platzman",
+ "name": "Imagine dragons",
"role": "music",
"type": "artist",
- "url": "https://www.jiosaavn.com/artist/daniel-platzman-songs/hOWrEJ6eC9I_",
+ "url": "https://www.jiosaavn.com/artist/imagine-dragons-songs/T3sUKGi9TcE_",
},
{
- "id": "683491",
+ "id": "674717",
"image": [],
- "name": "Robin Fredriksson",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/robin-fredriksson-songs/jRGk4sF83Ko_",
- },
- {
- "id": "634862",
- "image": [],
- "name": "Mattias Larsson",
- "role": "music",
- "type": "artist",
- "url": "https://www.jiosaavn.com/artist/mattias-larsson-songs/d6thUM5GwSE_",
- },
- {
- "id": "599452",
- "image": [],
- "name": "Imagine Dragons",
+ "name": "Kumar Basant",
"role": "singers",
"type": "artist",
- "url": "https://www.jiosaavn.com/artist/imagine-dragons-songs/f0aFxsa231o_",
+ "url": "https://www.jiosaavn.com/artist/kumar-basant-songs/00kP0r,b47w_",
},
],
"featured": [],
"primary": [
{
- "id": "599452",
+ "id": "674717",
"image": [],
- "name": "Imagine Dragons",
+ "name": "Kumar Basant",
"role": "primary_artists",
"type": "artist",
- "url": "https://www.jiosaavn.com/artist/imagine-dragons-songs/f0aFxsa231o_",
+ "url": "https://www.jiosaavn.com/artist/kumar-basant-songs/00kP0r,b47w_",
},
],
},
"description": "",
"explicitContent": false,
- "id": "33436571",
+ "id": "51788308",
"image": [
{
"quality": "50x50",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-50x50.jpg",
+ "url": "https://c.saavncdn.com/238/The-English-Season-Vol-I-English-2024-20240210172022-50x50.jpg",
},
{
"quality": "150x150",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-150x150.jpg",
+ "url": "https://c.saavncdn.com/238/The-English-Season-Vol-I-English-2024-20240210172022-150x150.jpg",
},
{
"quality": "500x500",
- "url": "https://c.saavncdn.com/038/Bones-English-2022-20220311113603-500x500.jpg",
+ "url": "https://c.saavncdn.com/238/The-English-Season-Vol-I-English-2024-20240210172022-500x500.jpg",
},
],
"language": "english",
- "name": "Bones",
+ "name": "The English Season Vol.I",
"playCount": 0,
- "songCou
|
src/modules/search/use-cases/search-all/search-all.use-case.spec.ts > SearchEverything > should search everything by query and return a list of results:
src/modules/search/use-cases/search-all/search-all.use-case.spec.ts#L14
Error: Snapshot `SearchEverything > should search everything by query and return a list of results 1` mismatched
- Expected
+ Received
@@ -1,179 +1,21 @@
{
"albums": {
- "position": 2,
- "results": [
- {
- "artist": undefined,
- "description": "2021 · English Album · Arcane, League of Legends",
- "id": "30690651",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/273/Arcane-League-of-Legends-Soundtrack-from-the-Animated-Series--English-2021-20211117001130-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/273/Arcane-League-of-Legends-Soundtrack-from-the-Animated-Series--English-2021-20211117001130-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/273/Arcane-League-of-Legends-Soundtrack-from-the-Animated-Series--English-2021-20211117001130-500x500.jpg",
- },
- ],
- "language": "english",
- "position": undefined,
- "songIds": "iShuYW5v, NihjV1ye, TiIwRuAy, -nAVuln8, NLIW3rG4, Iw6Mkj-M, zUw-eAdj, qv4j6PQc, 5ZhrtDN_, eGGb1baQ, NilyG0mP",
- "title": "Arcane League of Legends (Soundtrack from the Animated Series)",
- "type": "album",
- "url": undefined,
- "year": "2021",
- },
- {
- "artist": undefined,
- "description": "2015 · English Album · Various Artists",
- "id": "1658369",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/057/Acoustix-3-English-2015-20240113102054-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/057/Acoustix-3-English-2015-20240113102054-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/057/Acoustix-3-English-2015-20240113102054-500x500.jpg",
- },
- ],
- "language": "english",
- "position": undefined,
- "songIds": "3PyY4aPI, DQV8CfqJ, NHGS0oI8, g5GsYjYk, wNDbhlNp, 3jNyKHsc, Lava9XJs, 1i275ZSo, PttOq5Qw, q11IfWw0, 3-NVzq83, 6ug_NUMY, Vhzva1im, k1V2yhZr, mQkNT-oY, obCW2akb, JjKKyOOK, 08WHil7_, 2ItHNmf8, sS6ytDnx, LXJwB5Qw, sUKNzQPT, r_1aZS3R, jrpkPst7, _ovxcmOZ, cLxVe5jm, gpG6GIGa, FSdITuDG, yb6FPDYo, pJHpTgCS, A__yq_B6, F-E2Vlri, VWZFpMFp, 77p_aV3N, CkhcG8ai, 0NdMvvK4, 2Ix-WNRO, 7l3pOQnQ, 9Oq75l3O, KRpLJ2KF",
- "title": "Acoustix 3",
- "type": "album",
- "url": undefined,
- "year": "2015",
- },
- {
- "artist": undefined,
- "description": "2022 · English Album · Various Artists",
- "id": "38112005",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/794/Rainy-Days-2022-English-2022-20230207223116-50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/794/Rainy-Days-2022-English-2022-20230207223116-150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/794/Rainy-Days-2022-English-2022-20230207223116-500x500.jpg",
- },
- ],
- "language": "english",
- "position": undefined,
- "songIds": "iXoaHVC3, p0f1i-cG, g8WlADy9, mnEenbK-, RLjTAuOP, cR_r-Mtz, iaFkiupr, c23kGYzL, n_w-yiYu, TiCELM52, Ri34c2J9, 5Cm_i6C-, pjGR3zm_, r19sc3zS, Qg6C0wak, 5IkXN3A7, O5qliq6s, bCa6JdBy, dZ5gVtQl, 5wxbS7T7, XTZ3CHbJ, qH6p40b4, k0Zmhv0n, py7hcbAW, yAteOSkm, 0RfMXVwc, zOrSZ0Tq, aM4_4q-_, MHWLSAxQ, 07AoRrzd, wu1xxLdY, uMPYVXhw, n6ty30Qf, PUADRZ-X, b1UniD8D, l0ENEPHe, gJ6EZSBf, KXvxpFcP, 1aNy4xWQ, hNUnsuzn, _VAz2ODN, q_fDiuFj, sT-Ch9T_, plqLuz2B, fLku5opv, AZ6qnuES, znSnT9yx, ymmwvt4W, DZlNTMS_, CVAWCRSK, PXWBdZas, I8bfh5_b, T_Pq6Nuk, XRLrjsHV, 19JMYl5D, RslhheE-, A9fT4WT_, TphPkJYI, 32C-ynoC, ozYfUtLk, LKBoj9LG, J8JVS9JQ, Z-Au
|