refactor: enhance file handling and metrics tracking; remove unused bot health tracker
This commit is contained in:
@@ -47,6 +47,9 @@ mock.module('../src/routes/health', () => ({
|
||||
|
||||
mock.module('../src/utils/rateLimit', () => ({
|
||||
cleanupRateLimitCache: mock(),
|
||||
withRateLimit: <T extends Request>(
|
||||
handler: (req: T) => Promise<Response>,
|
||||
): ((req: T) => Promise<Response>) => handler,
|
||||
}));
|
||||
|
||||
describe('Bootstrap Server', () => {
|
||||
|
||||
Reference in New Issue
Block a user