Skip to content

Commit bf18887

Browse files
committed
Fix TypeScript array types and enable rate limiting test
- Add explicit number[] type to healthResponses array - Enable rate limiting integration test (remove .skip) - Resolves TypeScript compilation errors
1 parent 55551ac commit bf18887

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/src/__tests__/integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ describe('Integration Tests - Complete Application Flow', () => {
458458
});
459459

460460
describe('Rate Limiting Integration', () => {
461-
test.skip('should apply rate limits across different endpoints', async () => {
461+
test('should apply rate limits across different endpoints', async () => {
462462
console.log('🧪 [TEST] Starting rate limiting test...');
463463

464464
// Test clean endpoint rate limiting
@@ -477,7 +477,7 @@ describe('Integration Tests - Complete Application Flow', () => {
477477

478478
// Test health endpoint (should have higher limit)
479479
console.log('🧪 [TEST] Testing health endpoint rate limiting...');
480-
const healthResponses = [];
480+
const healthResponses: number[] = [];
481481
for (let i = 0; i < 10; i++) {
482482
const response = await app.inject({
483483
method: 'GET',

0 commit comments

Comments
 (0)