9 lines
300 B
JavaScript
9 lines
300 B
JavaScript
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');
|
|
result.name.should.equal('Phase 5');
|
|
});
|
|
});
|