Add more async
This commit is contained in:
parent
7be2b7b97a
commit
8ea8b4d279
14 changed files with 108 additions and 300 deletions
|
@ -2,8 +2,8 @@ import 'should';
|
|||
import lookup from '../lib/lookup';
|
||||
|
||||
describe('Search with url', function(){
|
||||
it('should find album by url', function* (){
|
||||
const result = yield lookup('https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay');
|
||||
it('should find album by url', async function (){
|
||||
const result = await lookup('https://play.google.com/music/listen#/album/Bz6wrjczddcj5hurijsv6ohdoay');
|
||||
result.name.should.equal('Phase 5');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue