Backend: - TestAdminLogin_Success: verify admin login with username - TestAdminLogin_WrongPassword: verify 401 for wrong password Frontend (Marketplace): - auth.test.ts: mocked tests for login/logout (5 tests) - auth.integration.test.ts: real API tests (3 tests, skipped in CI) |
||
|---|---|---|
| .. | ||
| handler | ||
| middleware | ||