Skip to content

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

Update index.test.ts

Nicolas12969288798f
diff --git a/apps/test-suite/index.test.ts b/apps/test-suite/index.test.ts
index d0dcbe9db..2ae525ef3 100644
--- a/apps/test-suite/index.test.ts
+++ b/apps/test-suite/index.test.ts
@@ -62,6 +62,13 @@ describe("Scraping/Crawling Checkup (E2E)", () => {
if (scrapedContent.statusCode !== 200) {
console.error(`Failed to scrape ${websiteData.website}`);
+ errorLog.push({
+ website: websiteData.website,
+ prompt: websiteData.prompt,
+ expected_output: websiteData.expected_output,
+ actual_output: "",
+ error: "Failed to prompt... model error."
+ });
return null;
}
@@ -132,6 +139,13 @@ describe("Scraping/Crawling Checkup (E2E)", () => {
console.error(
`Error processing ${websiteData.website}: ${error}`
);
+ errorLog.push({
+ website: websiteData.website,
+ prompt: websiteData.prompt,
+ expected_output: websiteData.expected_output,
+ actual_output: "",
+ error: "Failed to prompt... model error."
+ });
return null;
}
})