Skip to content

Commit

Permalink
test: fix snapshot and expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Mar 23, 2024
1 parent cdfca9b commit 60319a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ exports[`GetSongById > should return a song by id and include lyrics 1`] = `
"lyrics": "I wake up every morning with a new resolve<br>Two hands and one heart, let the world revolve<br>One eye to the ocean and one to the sky<br>One life of devotion and where am I?<br>One heart to love within my chest<br>One life to live<br><br>I keep skipping stones, hoping for a change<br>But things just stay the same<br>I keep walking roads, looking for a home<br>That I can call my own<br>Skipping stones<br>I′m skipping stones<br>I'm skipping stones<br>I′m skipping stones<br><br>One chance to reach out and find a place for me<br>One chance to find love for all humanity<br>One eye to the mountain and one to the sands<br>One dime for the fountain and one for my hand<br>One heart to love within my chest<br>One heart to love<br><br>I keep skipping stones, hoping for a change<br>But things just stay the same<br>I keep walking roads, looking for a home<br>That I can call my own<br>Skipping stones<br>I'm skipping stones<br>I'm skipping stones<br>I′m skipping stones<br><br>Skipping stones<br>I′m skipping stones<br>I'm skipping stones<br>I′m skipping stones<br><br>Love is not a product of reasonings and statistics<br>It just comes - none knows whence - and cannot explain itself<br>Love is a madness, if thwarted, it develops fast<br>When you fish for love, bait with your heart, not your brain<br><br>I keep skipping stones, hoping for a change<br>But things just stay the same<br>I keep walking roads, looking for a home<br>That I can call my own<br>Skipping stones<br>I'm skipping stones<br>I′m skipping stones<br>I'm skipping stones<br><br>Skipping stones<br>I′m skipping stones<br>I'm skipping stones<br>I'm skipping stones",
"snippet": "I keep skipping stones, hoping for a change",
},
"lyricsId": Anything,
"lyricsId": null,
"name": "Skipping Stones",
"playCount": Any<Number>,
"releaseDate": "2018-06-22",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('GetSongById', () => {
expect(song[0]).toMatchSnapshot({
playCount: expect.any(Number),
hasLyrics: expect.any(Boolean),
lyricsId: expect.anything()
lyricsId: song[0].lyricsId ? expect.any(String) : null
})
})
})

0 comments on commit 60319a0

Please sign in to comment.