saveinmed/backend/internal/http/middleware
Gabbriiel 90467db1ec refactor: substitui backend Medusa por backend Go e corrige testes do marketplace
- Remove backend Medusa.js (TypeScript) e substitui pelo backend Go (saveinmed-performance-core)
- Corrige testes auth.test.ts: alinha paths de API (v1/ sem barra inicial) e campo access_token
- Corrige GroupedProductCard.test.tsx: ajusta distância formatada (toFixed) e troca userEvent por fireEvent com fakeTimers
- Corrige AuthContext.test.tsx: usa vi.hoisted() para mocks e corrige parênteses no waitFor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 04:56:37 -06:00
..
auth.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
compress.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
compress_test.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
cors.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
cors_test.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
logging.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
middleware_test.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
ratelimit.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
ratelimit_test.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
security.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00
security_test.go refactor: substitui backend Medusa por backend Go e corrige testes do marketplace 2026-02-17 04:56:37 -06:00