0

all working now

This commit is contained in:
rafaelsideguide 2024-04-18 17:41:23 -03:00
parent dab0568c43
commit c627d22179

View File

@ -74,7 +74,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);
expect(response.body).toHaveProperty('asudhaopsidjp'); expect(response.body).toHaveProperty('jobId');
expect(response.body.jobId).toMatch(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/); expect(response.body.jobId).toMatch(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/);
}); });