// @ts-nocheck
import test from "node:test";
import assert from "node:assert/strict";
import { extractIdealoGalleryPictureUrls } from "../src/services/catalog-products.ts";
test("idealo gallery parser prefers large splide images over thumbnails", () => {
const html = `
`;
const urls = extractIdealoGalleryPictureUrls(html, "https://www.idealo.de/product.html");
assert.deepEqual(urls, [
"https://img.idealo.com/folder/Product/200123/4/200123456/s1_product_1000x1000.jpg",
"https://img.idealo.com/folder/Product/200123/4/200123456/s2_product_1200x1200.jpg",
]);
});