• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inclusion-numerique / coop-mediation-numerique / c9ca4de7-7df9-4803-9097-965221aeff48

30 Apr 2026 08:37AM UTC coverage: 10.646% (+3.2%) from 7.419%
c9ca4de7-7df9-4803-9097-965221aeff48

push

circleci

web-flow
Merge pull request #489 from inclusion-numerique/infra-remove-project

Infra remove project

709 of 10650 branches covered (6.66%)

Branch coverage included in aggregate %.

1 of 2 new or added lines in 2 files covered. (50.0%)

931 existing lines in 96 files now uncovered.

2178 of 16468 relevant lines covered (13.23%)

2.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/web/src/utils/getUserRoleLabel.ts
UNCOV
1
export const getUserRoleLabel = (user: {
×
2
  role: string
3
  isConseillerNumerique: boolean
4
  mediateur: { id: string } | null
5
  coordinateur: { id: string } | null
6
}) => {
UNCOV
7
  if (user.role === 'Admin') return 'Administrateur'
×
UNCOV
8
  if (user.coordinateur != null) return 'Coordinateur'
×
UNCOV
9
  if (user.isConseillerNumerique) return 'Conseiller Numérique'
×
10
  if (user.mediateur != null) return 'Médiateur'
×
11

12
  return 'Rôle non défini'
×
13
}
14

15
export type UserRoleLabel = ReturnType<typeof getUserRoleLabel>
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc