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

fix(warning): remove front dead code #268

Merged
merged 7 commits into from
Oct 2, 2024

Conversation

xtiannyeto
Copy link
Collaborator

  • remove front unused var or import

@xtiannyeto xtiannyeto linked an issue Jul 25, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jul 25, 2024

Coverage Report for frontend

Status Category Percentage Covered / Total
🟢 Lines 78.92% (🎯 50%) 1914 / 2425
🟢 Statements 78.68% (🎯 50%) 1994 / 2534
🟢 Functions 75.18% (🎯 50%) 500 / 665
🟢 Branches 72.16% (🎯 50%) 840 / 1164
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
frontend/src/features/pam/mission/components/elements/mission-item.tsx 82.97% 83.33% 77.77% 82.6% 70, 73-74, 77, 92-97, 113, 126
frontend/src/features/pam/mission/components/elements/controls/control-security-form.tsx 95.65% 94.44% 100% 100% 50
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-anti-pollution.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-baaem-permanence.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-container.tsx 76.74% 66.66% 100% 76.74% 97, 115, 117, 119, 121, 123, 125, 127, 129, 131
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-illegal-immigration.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-nautical-event.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-public-order.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-representation.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/elements/timeline/item/timeline-item-vigimer.tsx 33.33% 100% 0% 33.33% 9, 11-39
frontend/src/features/pam/mission/components/layout/page-footer.tsx 66.66% 50% 50% 66.66% 23-24
frontend/src/features/pam/mission/hooks/representation/use-add-representation.tsx 100% 100% 100% 100%
frontend/src/pages/mission-page.tsx 45.65% 41.66% 60% 46.66% 40-70, 41-69, 42, 44, 47-50, 48-49, 53, 56-58, 61-62, 65, 67-68, 74-75, 77-87, 78-87, 85-86
Generated in workflow #1133 for commit ea3188c by the Vitest Coverage Report Action

 - remove front unused var or import
- unused import from timeline action
@xtiannyeto xtiannyeto force-pushed the 238-solve-front-warning-death-code branch from 117952e to a864913 Compare October 2, 2024 08:43
@xtiannyeto xtiannyeto merged commit 6d074f1 into main Oct 2, 2024
9 checks passed
@xtiannyeto xtiannyeto deleted the 238-solve-front-warning-death-code branch October 2, 2024 09:42
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.

Retirer le code mort (Fake mission)
2 participants