Add tests to action
This commit is contained in:
parent
91d9af097d
commit
4dfd6e93b2
8 changed files with 139 additions and 48 deletions
|
@ -1,9 +1,11 @@
|
|||
import 'should';
|
||||
import lookup from '../lib/lookup.js';
|
||||
import "should";
|
||||
import lookup from "../lib/lookup.js";
|
||||
|
||||
describe('Search with url', function(){
|
||||
it('should find album by url', async function (){
|
||||
const result = await lookup('https://play.google.com/music/m/Bw2bwajaddrgr5vakp3vluqothq');
|
||||
result.name.should.equal('Breaking');
|
||||
describe("Search with url", function() {
|
||||
it("should find album by url", async function() {
|
||||
const result = await lookup(
|
||||
"https://open.spotify.com/album/5TbRo1rBrhgHSTB4i2wdZS"
|
||||
);
|
||||
result.name.should.equal("Atom Bomb");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue