0

Merge pull request #30 from mendableai/bugfix/scrape-test-failing

[Bugfix] Fixed scrape preview test
This commit is contained in:
Nicolas 2024-04-19 15:03:50 -07:00 committed by GitHub
commit de1e13d79d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ describe('E2E Tests for API Routes', () => {
.set('Content-Type', 'application/json') .set('Content-Type', 'application/json')
.send({ url: 'https://firecrawl.dev' }); .send({ url: 'https://firecrawl.dev' });
expect(response.statusCode).toBe(200); expect(response.statusCode).toBe(200);
}); }, 10000); // 10 seconds timeout
it('should return a successful response with a valid API key', async () => { it('should return a successful response with a valid API key', async () => {
const response = await request(TEST_URL) const response = await request(TEST_URL)