29 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Frontend Test Hygiene — tasks
Статус: completed
## 1. Проверить тестовые helpers
- [x] Проверить `apps/frontend/src/shared/lib/test/test-utils.tsx` на избыточные обёртки
- [x] Проверить `apps/frontend/src/shared/lib/test/factories.ts` на слишком широкие mock fixtures
- [x] Проверить `apps/frontend/src/shared/lib/test/handlers.ts` на лишние defaults
## 2. Сузить test layer
- [x] Убрать лишнюю глобальную магию из shared test setup
- [x] Перенести one-off setup в конкретные тесты, если он не нужен всем
- [x] Оставить только действительно shared helpers
## 3. Нормализовать conventions
- [x] Обновить frontend docs, описывающие test strategy и conventions
- [x] Убедиться, что global setup не распухает и остаётся понятным
- [x] Сверить conventions с `frontend-test-coverage` как отдельной фичей
## 4. Финальная проверка
- [x] Запустить `npm run test -w apps/frontend`
- [x] Запустить `npm run lint -w apps/frontend`
- [x] Запустить `npm run build -w apps/frontend`
- [x] Убедиться, что изменения не меняют пользовательское поведение