Merge pull request #30 from mendableai/bugfix/scrape-test-failing
[Bugfix] Fixed scrape preview test
This commit is contained in:
commit
de1e13d79d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user