fix(lba-2326): amélioration regex pour contrer limite conversion mongodb #5359
preview.yml
on: pull_request
tests
/
Tests
3m 47s
Add deploy comment
5s
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
|