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

inclusion-numerique / coop-mediation-numerique / 47b77ff3-bc71-4025-a464-77250a49db92

29 Jan 2026 09:49AM UTC coverage: 10.721% (+3.3%) from 7.44%
47b77ff3-bc71-4025-a464-77250a49db92

push

circleci

web-flow
Merge pull request #398 from inclusion-numerique/dev

release

628 of 9623 branches covered (6.53%)

Branch coverage included in aggregate %.

73 of 118 new or added lines in 12 files covered. (61.86%)

786 existing lines in 84 files now uncovered.

1991 of 14805 relevant lines covered (13.45%)

1.86 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