Improve Groove music matching

This commit is contained in:
Jonathan Cremin 2017-05-07 22:47:06 +01:00
parent 147ad4f3d2
commit bf8b6eea52
2 changed files with 53 additions and 25 deletions

View file

@ -19,6 +19,12 @@ describe('Xbox Music', function(){
const result = yield xbox.search({type: 'album', artist: {name: 'Kyuss'}, name: 'Muchas Gracias: The Best Of Kyuss'});
result.name.should.equal('Muchas Gracias: The Best Of Kyuss');
});
it('should find awkward album by search', function* (){
const result = yield xbox.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'});
result.name.should.equal('Fica');
result.artist.name.should.equal('Anavitória');
});
});
describe('lookupUrl', function(){