Files
botsmann/tests
g-butandClaude Opus 4.5 e4425ffaea fix: resolve test infrastructure issues
- Add next/server mock for Jest to handle NextRequest/NextResponse imports
- Fix api-responses tests to match actual function signatures:
  - jsonSuccess wraps data in response.data property
  - jsonValidationError expects ValidationError[] not object
  - formatZodErrors returns array not object with field properties

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:35:32 +01:00
..