0

testing tests

This commit is contained in:
rafaelsideguide 2024-04-18 17:38:12 -03:00
parent 4018d7ca17
commit dab0568c43

View File

@ -74,7 +74,7 @@ describe('E2E Tests for API Routes', () => {
.set('Content-Type', 'application/json')
.send({ url: 'https://firecrawl.dev' });
expect(response.statusCode).toBe(200);
expect(response.body).toHaveProperty('jobId');
expect(response.body).toHaveProperty('asudhaopsidjp');
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}$/);
});