Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update index.test.ts

Nicolas3bfef646e004
diff --git a/apps/test-suite/index.test.ts b/apps/test-suite/index.test.ts
index 1de2bf57c..853b78144 100644
--- a/apps/test-suite/index.test.ts
+++ b/apps/test-suite/index.test.ts
@@ -61,13 +61,13 @@ describe("Scraping/Crawling Checkup (E2E)", () => {
.send({ url: websiteData.website, pageOptions: { onlyMainContent: true } });
if (scrapedContent.statusCode !== 200) {
- console.error(`Failed to scrape ${websiteData.website}`);
+ console.error(`Failed to scrape ${websiteData.website} ${scrapedContent.statusCode}`);
errorLog.push({
website: websiteData.website,
prompt: websiteData.prompt,
expected_output: websiteData.expected_output,
actual_output: "",
- error: "Failed to prompt... model error."
+ error: `Failed to scrape website. ${scrapedContent.statusCode} ${scrapedContent.body.error}`
});
return null;
}
@@ -157,7 +157,7 @@ describe("Scraping/Crawling Checkup (E2E)", () => {
prompt: websiteData.prompt,
expected_output: websiteData.expected_output,
actual_output: "",
- error: "Failed to prompt... model error."
+ error: `Error processing ${websiteData.website}: ${error}`
});
return null;
}