fix: increase worker integration test timeout to 60s (#20810)
The first two integration tests were timing out in CI environments because the Worker initialization takes longer than 30 seconds. This change increases the timeout from 30 seconds to 60 seconds for these tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d40f812563
commit
ffb226c32c
|
|
@ -27,12 +27,12 @@ describe('Worker Integration Tests', () => {
|
|||
expect(text).toContain('<?xml');
|
||||
expect(text).toContain('<rss');
|
||||
expect(text).toContain('Test 1');
|
||||
}, 30000);
|
||||
}, 60000);
|
||||
|
||||
it('should respond to / with welcome page', async () => {
|
||||
const response = await worker.fetch('/');
|
||||
expect(response.status).toBe(200);
|
||||
}, 30000);
|
||||
}, 60000);
|
||||
|
||||
it('should return error for unknown routes', async () => {
|
||||
const response = await worker.fetch('/nonexistent/route/12345');
|
||||
|
|
|
|||
Loading…
Reference in New Issue