atlp-rwanda / knights-ecomm-be

Knights ecommerce backend APIs
https://knights-ecomm-be-lcdh.onrender.com
0 stars 0 forks source link

Ft: Increase test coverage PR #116

Closed Ndevu12 closed 6 months ago

Ndevu12 commented 6 months ago

Description

This PR is all about increasing the coverage of our project. Currently it had a test coverage of 77% , we have to increase it at least up to 90%. We are going to write tests to cover untested and partially tested areas of the code.

Description of task to be completed

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 9399713371

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/services/userServices/userValidationService.ts 12 13 92.31%
src/services/productServices/searchProduct.ts 18 20 90.0%
src/services/userServices/sendResetPasswordLinkService.ts 13 15 86.67%
<!-- Total: 71 76 93.42% -->
Files with Coverage Reduction New Missed Lines %
src/services/productServices/listAllProductsService.ts 1 88.89%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 9375184753: 11.2%
Covered Lines: 1512
Relevant Lines: 1584

💛 - Coveralls
Ndevu12 commented 6 months ago

Thank you all. Especially @aimedivin