fix(lba-2326): amélioration regex pour contrer limite conversion mongodb #5361
preview.yml
on: pull_request
tests
/
Tests
3m 37s
Add deploy comment
2s
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": "((.*?))(.)+([Dd][Oo][Cc][Xx]|[Pp][Dd][Ff])$",
+ "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
|