2015-06-03 21:45:54 -07:00
|
|
|
import 'should';
|
2020-01-18 10:19:20 +00:00
|
|
|
import lookup from '../lib/lookup.js';
|
2015-01-06 12:58:57 +00:00
|
|
|
|
|
|
|
describe('Search with url', function(){
|
2018-04-30 22:20:01 +01:00
|
|
|
it('should find album by url', async function (){
|
2020-04-28 19:53:41 +01:00
|
|
|
const result = await lookup('https://play.google.com/music/m/Bw2bwajaddrgr5vakp3vluqothq');
|
|
|
|
result.name.should.equal('Breaking');
|
2015-01-06 12:58:57 +00:00
|
|
|
});
|
2015-06-03 21:45:54 -07:00
|
|
|
});
|