feat: enhance file upload handling with improved file detection, size limits, and response formatting

This commit is contained in:
MythEclipse
2026-05-21 22:31:55 +07:00
parent 06844f1fa1
commit 52340ee77d
20 changed files with 696 additions and 539 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
// @ts-nocheck
import { beforeEach, describe, expect, it, mock } from 'bun:test';
// Mock database layer
@@ -11,7 +10,7 @@ mock.module('../src/db/index', () => ({
}));
describe('Health Route Handler', () => {
let handleHealth: any;
let handleHealth: typeof import('../src/routes/health').handleHealth;
beforeEach(async () => {
mockExecute.mockClear();