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:
DIYgod
2026-01-04 18:00:09 +08:00
committed by GitHub
co-authored by Claude Haiku 4.5
parent d40f812563
commit ffb226c32c
+2 -2
View File
@@ -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');