Sergey Krylov a14e24d8e8
Some checks failed
CI / lint (pull_request) Successful in 1m58s
CI / test (pull_request) Failing after 1m43s
CI / build (pull_request) Failing after 1m42s
CI / lint (push) Successful in 1m44s
CI / test (push) Failing after 1m46s
CI / build (push) Failing after 1m32s
chore: commit docs and lockfile changes
2026-06-14 09:10:33 +03:00
..

Tests

Common issues

Auth loading screen

Components rendered through renderWithProviders are wrapped in AuthProvider which shows a loading screen until POST /api/v1/auth/refresh resolves.

  • Use await screen.findByText() to wait for auth to complete.
  • For components that don't need auth, render with just QueryClientProvider + MemoryRouter.