From 444186aa05a53401b9d2740345462e87f8e64aff Mon Sep 17 00:00:00 2001 From: Florent ATCHEAKOU Date: Thu, 22 Aug 2024 10:09:53 +0200 Subject: [PATCH] debug des tests pour faire passer le CI --- coverage/lcov-report/index.html | 102 +++--- coverage/lcov-report/src/app.js.html | 20 +- .../lcov-report/src/config/db.config.js.html | 12 +- coverage/lcov-report/src/config/index.html | 10 +- .../src/controllers/clientsController.js.html | 152 ++++----- .../lcov-report/src/controllers/index.html | 42 +-- coverage/lcov-report/src/index.html | 30 +- .../src/middleware/authJwt.js.html | 36 +-- .../lcov-report/src/middleware/index.html | 34 +- .../lcov-report/src/models/client.js.html | 176 +++++------ coverage/lcov-report/src/models/index.html | 42 +-- .../lcov-report/src/routes/authRoutes.js.html | 2 +- .../src/routes/clientsRoutes.js.html | 8 +- coverage/lcov-report/src/routes/index.html | 2 +- coverage/lcov.info | 298 +++++++++--------- src/tests/clientsController.test.js | 15 + 16 files changed, 498 insertions(+), 483 deletions(-) diff --git a/coverage/lcov-report/index.html b/coverage/lcov-report/index.html index f999b7e..434c05c 100644 --- a/coverage/lcov-report/index.html +++ b/coverage/lcov-report/index.html @@ -23,30 +23,30 @@

All files

- 54.74% + 81% Statements - 98/179 + 145/179
- 25% + 61.66% Branches - 15/60 + 37/60
- 41.93% + 96.77% Functions - 13/31 + 30/31
- 54.49% + 81.46% Lines - 97/178 + 145/178
@@ -61,7 +61,7 @@

All files

-
+
@@ -80,17 +80,17 @@

All files

- - - + + - - - - + + + + @@ -104,53 +104,53 @@

All files

- - + + - - + - - - - - - - - + + + + + + + + - - + - - - - + + + + - - + + - - + - - - - - - - - + + + + + + + + @@ -176,7 +176,7 @@

All files

src -
+
+
92.85%13/14100%14/14 100% 0/00%0/192.85%13/14100%1/1100%14/14
1/2 100% 1/185.71%6/7100%7/7
src/controllers -
+
src/controllers +
41.5%22/5320%6/3033.33%4/1241.5%22/5383.01%44/5356.66%17/30100%12/1283.01%44/53
src/middleware -
+
src/middleware +
76.92%10/1366.66%4/692.3%12/1383.33%5/6 100% 2/276.92%10/1392.3%12/13
src/models -
+
src/models +
36.23%25/6910%2/2038.46%5/1336.23%25/6968.11%47/6960%12/20100%13/1368.11%47/69