Search additional markets for itunes and spotify
This commit is contained in:
parent
00ca82c851
commit
147ad4f3d2
4 changed files with 95 additions and 57 deletions
|
@ -20,6 +20,11 @@ describe('iTunes Music', function(){
|
|||
result.name.should.equal('White Pony');
|
||||
});
|
||||
|
||||
it('should find awkward album by search', function* (){
|
||||
const result = yield itunes.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'});
|
||||
result.name.should.equal('Fica (feat. Matheus & Kauan) - Single');
|
||||
});
|
||||
|
||||
it('should find track by search', function* (){
|
||||
const result = yield itunes.search({type: 'track', artist: {name: 'Deftones'}, albumName: 'Deftones', name: 'Hexagram'});
|
||||
result.name.should.equal('Hexagram');
|
||||
|
|
|
@ -20,6 +20,11 @@ describe('Spotify', function(){
|
|||
result.name.should.equal('Listen (Deluxe)');
|
||||
});
|
||||
|
||||
it('should find br album by search', function* (){
|
||||
const result = yield spotify.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'});
|
||||
result.name.should.equal('Fica');
|
||||
});
|
||||
|
||||
it('should find album by various artists by search', function* (){
|
||||
const result = yield spotify.search({type: 'album', artist: {name: 'Various Artists'}, name: 'The Get Down Part II: Original Soundtrack From The Netflix Original Series'});
|
||||
result.name.should.equal('The Get Down Part II: Original Soundtrack From The Netflix Original Series');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue