fix(lba-2326): amélioration regex pour contrer limite conversion mongodb #5360
Annotations
2 errors and 1 warning
test:
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
|
test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading