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

inclusion-numerique / coop-mediation-numerique / ac5796ce-2060-42b0-8ac2-9a33dfeae3db

22 May 2026 08:08AM UTC coverage: 9.999% (+3.0%) from 6.955%
ac5796ce-2060-42b0-8ac2-9a33dfeae3db

Pull #499

circleci

web-flow
chore(deps): bump @tootallnate/once from 2.0.0 to 2.0.1

Bumps [@tootallnate/once](https://github.com/TooTallNate/once) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/TooTallNate/once/releases)
- [Changelog](https://github.com/TooTallNate/once/blob/v2.0.1/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/once/compare/2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: "@tootallnate/once"
  dependency-version: 2.0.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #499: chore(deps): bump @tootallnate/once from 2.0.0 to 2.0.1

689 of 10876 branches covered (6.34%)

Branch coverage included in aggregate %.

2112 of 17137 relevant lines covered (12.32%)

1.95 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