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

inclusion-numerique / coop-mediation-numerique / 558c06c4-8b0c-443f-9715-0ec7b4d84a37

05 Feb 2026 09:52AM UTC coverage: 10.446% (+3.1%) from 7.371%
558c06c4-8b0c-443f-9715-0ec7b4d84a37

push

circleci

hugues-m
feat: dataspace id and filters in user api

610 of 9678 branches covered (6.3%)

Branch coverage included in aggregate %.

0 of 5 new or added lines in 1 file covered. (0.0%)

793 existing lines in 79 files now uncovered.

1963 of 14953 relevant lines covered (13.13%)

1.81 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