Skip to content

Commit

Permalink
fix: test getStreamURL method
Browse files Browse the repository at this point in the history
  • Loading branch information
titsex committed Sep 17, 2024
1 parent 5b3cd7e commit 2f83e94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ describe('test plugin', async () => {
})

test('test getStreamURL method', async () => {
const url = 'https://vk.com/audio-2001624323_122624323'
const streamUrl = 'https://vk.com/audio-2001624323_122624323'

const song = {
url,
streamUrl,
} as VKMusicPluginSong<unknown>

const response = plugin.getStreamURL(song)

expect(response).toEqual(url)
expect(response).toEqual(streamUrl)
})
})

0 comments on commit 2f83e94

Please sign in to comment.