const { fetchLiveCampaignProducts } = require("./api");
const { fetchLiveCampaignProductsWithHtml } = require("./render");

async function test() {
    const data = await fetchLiveCampaignProducts();
    console.log("Campaign Products:", data);
}

async function testRender() {
  const html = await fetchLiveCampaignProductsWithHtml();
  console.log(html); // You can also write it to a file or insert into DOM
}

// testRender();

test();
