2025-06-12 18:18:57 +01:00
|
|
|
import "should";
|
|
|
|
import lookup from "../lib/lookup.js";
|
2015-01-06 12:58:57 +00:00
|
|
|
|
2025-06-12 18:18:57 +01:00
|
|
|
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");
|
2015-01-06 12:58:57 +00:00
|
|
|
});
|
2015-06-03 21:45:54 -07:00
|
|
|
});
|