more rate limiting
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Has been cancelled

This commit is contained in:
2026-01-05 15:12:59 -08:00
parent 92b2adf8e8
commit 3507d455e8

View File

@@ -211,6 +211,7 @@ describe('Reaction Routes (/api/reactions)', () => {
describe('Rate Limiting', () => {
it('should apply publicReadLimiter to GET /', async () => {
const app = createTestApp({ router: reactionsRouter, basePath: '/api/reactions' });
vi.mocked(reactionRepo.getReactions).mockResolvedValue([]);
const response = await supertest(app)
.get('/api/reactions')