Closed maxCastro1 closed 6 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/services/productServices/viewSingleProduct.ts | 15 | 18 | 83.33% | ||
<!-- | Total: | 19 | 22 | 86.36% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/utils/roles.ts | 1 | 50.0% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 9109943404: | -0.005% |
Covered Lines: | 963 |
Relevant Lines: | 1108 |
Description
This PR includes the implementation of the viewSingleProduct function in the Product service. The function is designed to fetch and return the details of a single product from the database.
Functionality
Test
Tests have been added to verify the new functionality: