Merge pull request #79 from sivasoft-cloud/patch-1 #44
ci.yaml
on: push
Test and Deploy to Staging
27s
Annotations
10 errors
src/modules/artists/controllers/artist.controller.spec.ts > ArtistController > retrieve artist by link:
src/modules/artists/controllers/artist.controller.spec.ts#L21
Error: Snapshot `ArtistController > retrieve artist by link 1` mismatched
- Expected
+ Received
@@ -13,11 +13,11 @@
],
"bio": [],
"dob": "",
"dominantLanguage": "english",
"dominantType": "music director",
- "fanCount": "706746",
+ "fanCount": "695444",
"fb": "",
"followerCount": Any<Number>,
"id": "1274170",
"image": [
{
❯ src/modules/artists/controllers/artist.controller.spec.ts:21:18
|
src/modules/artists/controllers/artist.controller.spec.ts > ArtistController > retrieve artist by ID:
src/modules/artists/controllers/artist.controller.spec.ts#L35
Error: Snapshot `ArtistController > retrieve artist by ID 1` mismatched
- Expected
+ Received
@@ -13,11 +13,11 @@
],
"bio": [],
"dob": "",
"dominantLanguage": "english",
"dominantType": "music director",
- "fanCount": "706746",
+ "fanCount": "695444",
"fb": "",
"followerCount": Any<Number>,
"id": "1274170",
"image": [
{
❯ src/modules/artists/controllers/artist.controller.spec.ts:35:18
|
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,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/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/search/controllers/search.controller.spec.ts > SearchController > search artists:
src/modules/search/controllers/search.controller.spec.ts#L67
Error: Snapshot `SearchController > search artists 1` mismatched
- Expected
+ Received
@@ -210,7 +210,7 @@
"type": "artist",
"url": "https://www.jiosaavn.com/artist/adele-marley-songs/7h8DFMZMYZk_",
},
],
"start": -9,
- "total": 1483,
+ "total": 1484,
}
❯ src/modules/search/controllers/search.controller.spec.ts:67:18
|
src/modules/search/controllers/search.controller.spec.ts > SearchController > search playlists:
src/modules/search/controllers/search.controller.spec.ts#L75
Error: Snapshot `SearchController > search playlists 1` mismatched
- Expected
+ Received
@@ -144,34 +144,10 @@
"url": "https://www.jiosaavn.com/featured/weekly-jukebox-desi-indie-romantic/6,bsIqbJPgPfemJ68FuXsA__",
"year": 0,
},
{
"explicitContent": false,
- "id": "157002136",
- "image": [
- {
- "quality": "50x50",
- "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_50x50.jpg",
- },
- {
- "quality": "150x150",
- "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_150x150.jpg",
- },
- {
- "quality": "500x500",
- "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_500x500.jpg",
- },
- ],
- "name": "Desi-Indie - Weekly Jukebox",
- "playCount": null,
- "songCount": 0,
- "type": "playlist",
- "url": "https://www.jiosaavn.com/featured/desi-indie-weekly-jukebox/,K0,MpLrDlTfemJ68FuXsA__",
- "year": 0,
- },
- {
- "explicitContent": false,
"id": "824479378",
"image": [
{
"quality": "50x50",
"url": "https://c.saavncdn.com/editorial/hindi-cluster_18_20240325054410_50x50.jpg",
@@ -236,10 +212,34 @@
"name": "Desi-Indie Chill - Weekly Jukebox",
"playCount": null,
"songCount": 0,
"type": "playlist",
"url": "https://www.jiosaavn.com/featured/desi-indie-chill-weekly-jukebox/6,bsIqbJPgPuCJW60TJk1Q__",
+ "year": 0,
+ },
+ {
+ "explicitContent": false,
+ "id": "157002136",
+ "image": [
+ {
+ "quality": "50x50",
+ "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_50x50.jpg",
+ },
+ {
+ "quality": "150x150",
+ "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_150x150.jpg",
+ },
+ {
+ "quality": "500x500",
+ "url": "https://c.saavncdn.com/editorial/hindi-cluster_4_20240325055703_500x500.jpg",
+ },
+ ],
+ "name": "Desi-Indie - Weekly Jukebox",
+ "playCount": null,
+ "songCount": 0,
+ "type": "playlist",
+ "url": "https://www.jiosaavn.com/featured/desi-indie-weekly-jukebox/,K0,MpLrDlTfemJ68FuXsA__",
"year": 0,
},
],
"start": -9,
"total": 49,
❯ src/modules/search/controllers/search.controller.spec.ts:75:18
|