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

inclusion-numerique / coop-mediation-numerique / e54bb7f1-0236-4207-bf15-3fc4e5393707

03 Feb 2026 03:34PM UTC coverage: 10.45% (+3.1%) from 7.372%
e54bb7f1-0236-4207-bf15-3fc4e5393707

push

circleci

hugues-m
chore: disable siret integration test / api times out

610 of 9672 branches covered (6.31%)

Branch coverage included in aggregate %.

1963 of 14950 relevant lines covered (13.13%)

1.8 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

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

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