• 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

77.78
/apps/web/src/features/structures/formationLabel.ts
1
import { labelsToOptions } from '@app/ui/components/Form/utils/options'
1✔
2
import { FormationLabel } from '@gouvfr-anct/lieux-de-mediation-numerique'
1✔
3
import type { FormationLabel as PrismaFormationLabel } from '@prisma/client'
4

UNCOV
5
export const formationLabelLabels: Record<
×
6
  PrismaFormationLabel,
7
  FormationLabel
8
> = {
1✔
9
  FormeAMonEspaceSante: FormationLabel.FormeAMonEspaceSante,
10
  FormeADuplex: FormationLabel.FormeADuplex,
11
  ArniaMednum: FormationLabel.ArniaMednum,
12
  CollectifRessourcesEtActeursReemploi:
13
    FormationLabel.CollectifRessourcesEtActeursReemploi,
14
  FabriquesDeTerritoire: FormationLabel.FabriquesDeTerritoire,
15
  LesEclaireurs: FormationLabel.LesEclaireurs,
16
  MesPapiers: FormationLabel.MesPapiers,
17
  Ordi3: FormationLabel.Ordi3,
18
  SudLabs: FormationLabel.SudLabs,
19
}
20

UNCOV
21
export const formationLabelKeys: Record<FormationLabel, PrismaFormationLabel> =
×
22
  Object.fromEntries(
1✔
23
    Object.entries(formationLabelLabels).map(([key, value]) => [value, key]),
9✔
24
  ) as Record<FormationLabel, PrismaFormationLabel>
25

26
export type FormationLabelLabel = keyof typeof formationLabelLabels
27

28
export const formationLabelValues = Object.keys(formationLabelLabels) as [
1✔
29
  FormationLabelLabel,
30
  ...FormationLabelLabel[],
31
]
32

33
export const formationLabelOptions = labelsToOptions(formationLabelLabels)
1✔
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