mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
Add test for songStore.guess
This commit is contained in:
parent
4b75be5c22
commit
c453af3dea
1 changed files with 6 additions and 0 deletions
|
@ -68,4 +68,10 @@ describe('stores/song', () => {
|
|||
songStore.gatherRecentlyPlayedFromLocalStorage()[0].id.should.equal('cb7edeac1f097143e65b1b2cde102482')
|
||||
})
|
||||
})
|
||||
|
||||
describe('#guess', () => {
|
||||
it('correcty guesses a song', () => {
|
||||
songStore.guess('i swear', albumStore.byId(1193)).id.should.equal('39189f4545f9d5671fb3dc964f0080a0')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue