Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big migration to reatom #59

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from
Draft

Big migration to reatom #59

wants to merge 14 commits into from

Conversation

Bricks666
Copy link
Owner

  • All logic were rewrite with reatom instead of effector.
  • Add some tests for models and components
  • Switch router

Copy link

github-actions bot commented Nov 24, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 13.67% 2163 / 15821
🔵 Statements 13.67% 2163 / 15821
🔵 Functions 4% 22 / 549
🔵 Branches 6.73% 31 / 460
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/app/providers/index.ts 0% 0% 0% 0% 1-19
src/app/providers/withStore.tsx 0% 0% 0% 0% 1-14
src/entities/activities/index.ts 0% 0% 0% 0% 1-3
src/entities/activities/lib/index.ts 0% 0% 0% 0% 1-3
src/entities/activities/lib/use-activities-model.ts 0% 0% 0% 0% 1-9
src/entities/activities/lib/use-activity-actions.ts 0% 0% 0% 0% 1-17
src/entities/activities/lib/use-activity-spheres.ts 0% 0% 0% 0% 1-17
src/entities/activities/models/index.ts 0% 0% 0% 0% 1-3
src/entities/activities/models/actions/index.ts 0% 0% 0% 0% 1-2
src/entities/activities/models/actions/model.ts 0% 0% 0% 0% 1-45
src/entities/activities/models/actions/types.ts 0% 0% 0% 0% 1-16
src/entities/activities/models/activities/index.ts 0% 0% 0% 0% 1-2
src/entities/activities/models/activities/model.ts 0% 0% 0% 0% 1-95
src/entities/activities/models/activities/types.ts 0% 0% 0% 0% 1-58
src/entities/activities/models/spheres/index.ts 0% 0% 0% 0% 1-2
src/entities/activities/models/spheres/model.ts 0% 0% 0% 0% 1-45
src/entities/activities/models/spheres/types.ts 0% 0% 0% 0% 1-17
src/entities/activities/ui/activities-actions-picker/activities-actions-picker.tsx 0% 0% 0% 0% 1-80
src/entities/activities/ui/activities-spheres-picker/activities-spheres-picker.tsx 0% 0% 0% 0% 1-70
src/entities/activities/ui/activity-action-icon/index.ts 0% 0% 0% 0% 1-4
src/entities/activities/ui/activity-list-item/activity-list-item.tsx 0% 0% 0% 0% 1-56
src/entities/users/lib/index.ts 0% 0% 0% 0% 1-2
src/entities/users/lib/use-members-model.ts 0% 0% 0% 0% 1-11
src/entities/users/models/index.ts 0% 0% 0% 0% 1-2
src/entities/users/models/members/index.ts 0% 0% 0% 0% 1-2
src/entities/users/models/members/model.ts 0% 0% 0% 0% 1-66
src/entities/users/models/members/types.ts 0% 0% 0% 0% 1-27
src/entities/users/ui/skeleton-user-list-item/index.ts 0% 0% 0% 0% 1
src/entities/users/ui/template-user-list-item/index.ts 0% 0% 0% 0% 1
src/entities/users/ui/user-avatar/index.ts 0% 0% 0% 0% 1
src/entities/users/ui/user-avatar/user-avatar.tsx 0% 0% 0% 0% 1-34
src/pages/room-activities/model.ts 0% 0% 0% 0% 1-107
src/shared/api/activities/requests.ts 47.05% 100% 0% 47.05% 13-22, 25-28, 31-34
src/shared/api/activities/types.ts 100% 100% 100% 100%
src/shared/configs/context.ts 72.72% 0% 100% 72.72% 9-11
src/shared/configs/index.ts 100% 100% 100% 100%
src/shared/configs/const/env.ts 100% 100% 100% 100%
src/shared/configs/const/index.ts 100% 100% 100% 100%
src/shared/configs/const/routes.ts 100% 100% 100% 100%
src/shared/lib/construct-name.ts 0% 0% 0% 0% 1-3
src/shared/lib/create-singleton-factory.ts 0% 0% 0% 0% 1-100
src/shared/lib/extract-data.ts 38.88% 100% 0% 38.88% 6-11, 14-18
src/shared/lib/index.ts 100% 100% 100% 100%
src/shared/lib/reconstruct-name.ts 0% 0% 0% 0% 1-11
src/shared/lib/retry-query.ts 0% 0% 0% 0% 1-37
src/shared/types/common.ts 100% 100% 100% 100%
src/shared/ui/friendly-list/friendly-list.tsx 0% 0% 0% 0% 1-184
test-utils/fixtures/activities.ts 100% 100% 100% 100%
test-utils/mock-server/handlres/activities.ts 41.53% 100% 0% 41.53% 17-37, 41, 44, 47-61
test-utils/mock-server/handlres/index.ts 100% 100% 100% 100%
test-utils/mock-server/utils/create-pagination-response.ts 37.5% 100% 0% 37.5% 7-16
test-utils/mock-server/utils/index.ts 100% 100% 100% 100%
test-utils/utils/render.tsx 55.28% 100% 0% 55.28% 39-59, 70-88, 98-112
test-utils/utils/state-manager.ts 81.81% 100% 0% 81.81% 6-7
Generated in workflow #39 for commit 04273b9 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant