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

inclusion-numerique / coop-mediation-numerique / ff465997-5449-4f03-b5eb-3f66575f993a

21 Apr 2026 08:25AM UTC coverage: 10.612% (+3.1%) from 7.466%
ff465997-5449-4f03-b5eb-3f66575f993a

push

circleci

marc-gavanier
fix: correct admin fixture IDs and emails

Fix Kevin Troadec ID and email (kevin.troadec@beta.gouv.fr),
fix Adrien Turpin ID to match production database.

699 of 10549 branches covered (6.63%)

Branch coverage included in aggregate %.

2167 of 16457 relevant lines covered (13.17%)

1.99 hits per line

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

0.0
/apps/web/src/utils/getUserRoleLabel.ts
1
export const getUserRoleLabel = (user: {
×
2
  role: string
3
  isConseillerNumerique: boolean
4
  mediateur: { id: string } | null
5
  coordinateur: { id: string } | null
6
}) => {
7
  if (user.role === 'Admin') return 'Administrateur'
×
8
  if (user.coordinateur != null) return 'Coordinateur'
×
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