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

inclusion-numerique / coop-mediation-numerique / 458bf4a5-e7d4-4514-b95c-86678cd78b55

08 Apr 2026 12:12PM UTC coverage: 10.61% (+3.1%) from 7.472%
458bf4a5-e7d4-4514-b95c-86678cd78b55

push

circleci

web-flow
Merge pull request #471 from inclusion-numerique/feat/quick-access

feat: quick access items

698 of 10544 branches covered (6.62%)

Branch coverage included in aggregate %.

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

955 existing lines in 97 files now uncovered.

2166 of 16449 relevant lines covered (13.17%)

1.99 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