Closed kajalpatelinfo closed 1 year ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π‘ | Statements | 64.73% (-1.93% π») |
402/621 |
π΄ | Branches | 14.93% (-2.36% π») |
10/67 |
π΄ | Functions | 28.24% (-1.65% π») |
24/85 |
π‘ | Lines | 62.12% (-2.25% π») |
346/557 |
16 tests passing in 12 suites.
Report generated by π§ͺjest coverage report action from 23ca04b0453e874e331f2e74a8d6e0bd813943a5
Also good news -- The latest changes I pushed to the registration form will handle the frontend side of things :)
This PR adds checks for file type and size for uploads. It throws a 400
BadRequest
when a file that does not adhere to these constraints is uploaded. It is beyond the scope of this PR to catch the Exception and handle it on the frontend.The constraints are as follows.
pdf
,docx
,png
, orjpeg
.docx
can be removed if it is deemed so.