Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 exclude /api/v2/health-check from authentication #359

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

Carolinedanslesnuages
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Feb 12, 2025

badge

Backend Coverage Summary

Filename                                                           Stmts    Miss  Cover    Missing
---------------------------------------------------------------  -------  ------  -------  -----------------------------------------------
.eslintrc.js                                                           1       1  0.00%    1
generate-enum.js                                                      11      11  0.00%    7-70
src/app.controller.ts                                                  6       0  100.00%
src/app.module.ts                                                     21       0  100.00%
src/app.service.ts                                                     3       0  100.00%
src/enum.ts                                                           45       0  100.00%
src/main.ts                                                           19      19  0.00%    2-63
src/health/health-check.module.ts                                      4       0  100.00%
src/health/controllers/health-check.controller.ts                     10       4  60.00%   37-41
src/logger/combined.interceptor.ts                                   102      94  7.84%    25-304
src/logger/logger.module.ts                                            4       0  100.00%
src/logger/logger.service.ts                                           9       5  44.44%   9-25
src/middlewares/auth.middleware.ts                                    10       1  90.00%   23
src/notification/anomaly-notification.controller.ts                   33      14  57.57%   55-67, 101, 117-122, 131, 147, 163, 176
src/notification/anomaly-notification.module.ts                        6       0  100.00%
src/notification/anomaly-notification.service.ts                      34      27  20.58%   18-34, 56-187
src/notification/dto/create-anomaly-notification.dto.ts               11       0  100.00%
src/notification/dto/get-anomaly-notification.dto.ts                  16      16  0.00%    1-39
src/notification/dto/update-anomaly-notification.dto.ts                7       0  100.00%
src/notification/entities/anomaly-notification.entity.ts               1       1  0.00%    1
src/prisma/prisma.module.ts                                            3       0  100.00%
src/prisma/prisma.service.ts                                           5       0  100.00%
src/product/application.controller.ts                                 40      15  62.50%   165-187, 209-214, 260-265
src/product/application.module.ts                                     10       0  100.00%
src/product/application.service.ts                                   117      80  31.62%   64-97, 119, 126-127, 152-190, 227, 264, 284-552
src/product/export.service.ts                                          7       5  28.57%   9-14
src/product/application/dto/create-application.dto.ts                 91       8  91.20%   456, 469, 490, 507, 589, 595, 601, 607
src/product/application/dto/get-application.dto.ts                    11      11  0.00%    1-31
src/product/application/dto/search-application.dto.ts                 10       2  80.00%   29, 39
src/product/application/map/application.map.ts                         4       2  50.00%   38-51
src/product/domain/application.entity.ts                               1       1  0.00%    1
src/product/infrastructure/repository/application.repository.ts        8       0  100.00%
src/user/user.controller.ts                                            5       0  100.00%
src/user/user.module.ts                                                5       0  100.00%
src/user/user.service.ts                                               6       1  83.33%   9
src/user/dto/create-user.dto.ts                                        1       1  0.00%    1
src/user/dto/update-user.dto.ts                                        3       3  0.00%    1-4
src/user/entities/user.entity.ts                                       1       1  0.00%    1
src/utils/helpers.ts                                                   9       0  100.00%
tests/setup.ts                                                        13       0  100.00%
tests/utils.ts                                                        25      25  0.00%    1-42
TOTAL                                                                728     348  52.19%

Results for commit: 72fd0e4

Minimum allowed coverage is 0%

♻️ This comment has been updated with latest results

@Carolinedanslesnuages Carolinedanslesnuages merged commit a8bf74a into dev Feb 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants