Skip to content

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

Update single_url.test.ts

Nicolas86326f34e9b9
diff --git a/apps/api/src/scraper/WebScraper/__tests__/single_url.test.ts b/apps/api/src/scraper/WebScraper/__tests__/single_url.test.ts
index d555e0300..da66830b1 100644
--- a/apps/api/src/scraper/WebScraper/__tests__/single_url.test.ts
+++ b/apps/api/src/scraper/WebScraper/__tests__/single_url.test.ts
@@ -24,7 +24,7 @@ describe('scrapSingleUrl', () => {
});
it('should return a list of links on the firecrawl.ai page', async () => {
- const url = 'https://example.com';
+ const url = 'https://flutterbricks.com';
const pageOptions: PageOptions = { includeHtml: true };
const result = await scrapSingleUrl("TEST", url, pageOptions);
@@ -33,5 +33,5 @@ it('should return a list of links on the firecrawl.ai page', async () => {
expect(result.linksOnPage).toBeDefined();
expect(Array.isArray(result.linksOnPage)).toBe(true);
expect(result.linksOnPage.length).toBeGreaterThan(0);
- expect(result.linksOnPage).toContain('https://www.iana.org/domains/example')
+ expect(result.linksOnPage).toContain('https://flutterbricks.com/features')
}, 10000);