Skip to content

fix(lba-2326): amélioration regex pour contrer limite conversion mongodb #5360

fix(lba-2326): amélioration regex pour contrer limite conversion mongodb

fix(lba-2326): amélioration regex pour contrer limite conversion mongodb #5360

Triggered via pull request December 18, 2024 16:16
Status Failure
Total duration 3m 40s
Artifacts

preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
helpers/openapi/generateOpenapi.test.ts > generateOpenApiSchema > should generate proper schema: shared/helpers/openapi/generateOpenapi.test.ts#L8
Error: Snapshot `generateOpenApiSchema > should generate proper schema 1` mismatched - Expected + Received @@ -53,11 +53,11 @@ "type": "string", }, "applicant_file_name": { "description": "Nom du fichier du CV du candidat. Seuls les .docx et .pdf sont autorisés.", "minLength": 1, - "pattern": "((.*?))(\.)+(docx|pdf)$", + "pattern": "((.*?))(\.)+([Dd][Oo][Cc][Xx]|[Pp][Dd][Ff])$", "type": "string", }, "applicant_first_name": { "description": "Prenom du candidat", "maxLength": 50, ❯ helpers/openapi/generateOpenapi.test.ts:8:15
tests / Tests
Process completed with exit code 1.
Add deploy comment
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
tests / Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636