mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
fixing test
This commit is contained in:
parent
efbb4e8905
commit
3f833737f3
|
@ -154,10 +154,10 @@ describe('E2E Tests for API Routes', () => {
|
|||
expect(completedResponse.body).toHaveProperty('status');
|
||||
expect(completedResponse.body.status).toBe('completed');
|
||||
expect(completedResponse.body).toHaveProperty('data');
|
||||
expect(completedResponse.body.data).toHaveProperty('content');
|
||||
expect(completedResponse.body.data).toHaveProperty('markdown');
|
||||
expect(completedResponse.body.data).toHaveProperty('metadata');
|
||||
expect(completedResponse.body.data.content).toContain('🔥 FireCrawl');
|
||||
expect(completedResponse.body.data[0]).toHaveProperty('content');
|
||||
expect(completedResponse.body.data[0]).toHaveProperty('markdown');
|
||||
expect(completedResponse.body.data[0]).toHaveProperty('metadata');
|
||||
expect(completedResponse.body.data[0].content).toContain('🔥 FireCrawl');
|
||||
}, 60000); // 60 seconds
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user