ncc-erp / ncc-erp-workflow-w2-ui

0 stars 0 forks source link

task id #186

Closed duy1111 closed 2 months ago

duy1111 commented 5 months ago

Checklist (check all applicable)

Description

Related Tickets & Documents

Evidence

https://www.loom.com/share/9c4a920781c64d11826abcb12ba1bcc3 -->

github-actions[bot] commented 5 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                   
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files                                    |    66.2 |     44.6 |   48.29 |   66.01 |                                                                                                                     
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                     
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                                  
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components                           |    82.7 |       30 |    62.5 |   81.81 |                                                                                                                     
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                                  
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                               
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                               
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                            
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                               
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                         
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                         
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                               
 common/components/Boards                    |   52.02 |    41.66 |   46.51 |   52.81 |                                                                                                                     
  ListTask.tsx                               |      60 |    36.84 |   51.51 |   60.68 | 88-89,94-105,190-282,318-321,329-358,375,386,427-508                                                                
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                            
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                                  
  index.tsx                                  |   45.17 |       45 |   45.71 |   46.39 | 129-136,140-166,170-204,227-241,262-272,283-297,304-317,327-348,354-355,363-384,395,402,409,431,452-476,525,623-643 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                         
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                               
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                     
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                                  
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                     
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                               
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                     
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                               
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                     
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components/Table                     |   77.08 |    57.14 |   53.84 |   75.55 |                                                                                                                     
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                                  
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                                  
  Table.tsx                                  |   68.75 |    57.57 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                         
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                     
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                                  
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                     
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                            
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                               
 features/RequestTemplates/components/forms  |   46.88 |    25.77 |   26.82 |   47.08 |                                                                                                                     
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                              
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                              
  RequestForm.tsx                            |   51.42 |    29.41 |   40.74 |   51.82 | 89-96,101-125,132-134,138-146,161-172,186-189,196-199,206-233,277-312,338,383-396,424-465                           
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                     
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                     
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                     
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                     
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                                  
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                        
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                     
 features/auth/pages                         |   60.41 |    23.07 |      40 |   60.41 |                                                                                                                     
  Login.tsx                                  |   60.41 |    23.07 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                             
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                                   
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                     
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                           
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                          
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                                  
 features/requestDevices/components          |   72.88 |       60 |   54.41 |   75.24 |                                                                                                                     
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                                 
  MyRequestTable.tsx                         |   77.69 |    61.22 |   60.46 |   78.74 | 238,245,272-273,277-278,282-285,289-297,311-468                                                                     
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                                  
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                     
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                              
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                             
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                               
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                     
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                                   
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                                   
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                                  
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                     
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                               
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                     
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 utils                                       |    77.9 |    58.33 |   60.86 |   75.49 |                                                                                                                     
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                     
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                                  
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                                   
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                               
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                               
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                     
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                                   
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                                
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                             
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                                
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                                   
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                               
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 4 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                   
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files                                    |    66.2 |     44.6 |   48.29 |   66.01 |                                                                                                                     
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                     
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                                  
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components                           |    82.7 |       30 |    62.5 |   81.81 |                                                                                                                     
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                                  
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                               
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                               
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                            
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                               
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                         
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                         
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                               
 common/components/Boards                    |   52.02 |    41.66 |   46.51 |   52.81 |                                                                                                                     
  ListTask.tsx                               |      60 |    36.84 |   51.51 |   60.68 | 88-89,94-105,190-282,318-321,329-358,375,386,427-508                                                                
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                            
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                                  
  index.tsx                                  |   45.17 |       45 |   45.71 |   46.39 | 129-136,140-166,170-204,227-241,262-272,283-297,304-317,327-348,354-355,363-384,395,402,409,431,452-476,525,623-643 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                         
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                               
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                     
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                                  
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                     
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                               
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                     
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                               
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                     
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components/Table                     |   77.08 |    57.14 |   53.84 |   75.55 |                                                                                                                     
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                                  
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                                  
  Table.tsx                                  |   68.75 |    57.57 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                         
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                     
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                                  
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                     
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                            
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                               
 features/RequestTemplates/components/forms  |   46.88 |    25.77 |   26.82 |   47.08 |                                                                                                                     
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                              
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                              
  RequestForm.tsx                            |   51.42 |    29.41 |   40.74 |   51.82 | 89-96,101-125,132-134,138-146,161-172,186-189,196-199,206-233,277-312,338,383-396,424-465                           
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                     
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                     
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                     
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                     
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                                  
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                        
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                     
 features/auth/pages                         |   60.41 |    23.07 |      40 |   60.41 |                                                                                                                     
  Login.tsx                                  |   60.41 |    23.07 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                             
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                                   
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                     
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                           
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                          
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                                  
 features/requestDevices/components          |   72.88 |       60 |   54.41 |   75.24 |                                                                                                                     
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                                 
  MyRequestTable.tsx                         |   77.69 |    61.22 |   60.46 |   78.74 | 238,245,272-273,277-278,282-285,289-297,311-468                                                                     
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                                  
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                     
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                              
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                             
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                               
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                     
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                                   
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                                   
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                                  
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                     
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                               
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                     
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 utils                                       |    77.9 |    58.33 |   60.86 |   75.49 |                                                                                                                     
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                     
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                                  
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                                   
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                               
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                               
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                     
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                                   
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                                
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                             
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                                
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                                   
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                               
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 4 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                   
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files                                    |   66.63 |    45.68 |   49.35 |   66.45 |                                                                                                                     
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                     
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                                  
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components                           |   84.07 |    42.22 |   67.56 |   83.44 |                                                                                                                     
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                                  
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                               
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                               
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                     
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                            
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                               
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                         
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                     
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                         
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                               
  textTooltip.tsx                            |   91.66 |       85 |     100 |   91.66 | 39-40                                                                                                               
 common/components/Boards                    |   52.59 |    41.66 |   47.72 |   53.38 |                                                                                                                     
  ListTask.tsx                               |   61.29 |    36.84 |   54.28 |   61.98 | 89-90,95-106,202-294,330-333,341-370,387,398,439-520                                                                
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                            
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                                  
  index.tsx                                  |   45.41 |       45 |   45.71 |   46.63 | 130-137,141-167,171-205,228-242,263-273,284-298,305-318,328-349,355-356,364-385,396,403,410,432,453-477,526,641-661 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                         
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                               
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                     
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                                  
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                     
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                               
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                     
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                               
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                     
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                     
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 common/components/Table                     |   77.08 |    57.14 |   53.84 |   75.55 |                                                                                                                     
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                                  
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                                  
  Table.tsx                                  |   68.75 |    57.57 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                         
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                     
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                                  
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                     
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                            
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                               
 features/RequestTemplates/components/forms  |   47.41 |    26.26 |   30.23 |   47.36 |                                                                                                                     
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                              
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                              
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.14 | 89-96,104-130,137-139,143-151,166-177,191-194,201-204,211-238,282-317,343,388-401,429-470                           
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                     
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                     
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                     
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                     
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                                  
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                        
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                     
 features/auth/pages                         |   60.41 |    23.07 |      40 |   60.41 |                                                                                                                     
  Login.tsx                                  |   60.41 |    23.07 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                             
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                                   
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                     
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                           
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                          
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                                  
 features/requestDevices/components          |   73.36 |       60 |   55.71 |   75.72 |                                                                                                                     
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                                 
  MyRequestTable.tsx                         |   78.32 |    61.22 |   62.22 |   79.38 | 255,262,289-290,294-295,299-302,306-314,328-485                                                                     
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                                  
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                     
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                     
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                     
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                     
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                              
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                             
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                               
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                     
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                                   
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                                   
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                                  
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                     
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                               
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                     
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                     
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                     
 utils                                       |    77.9 |    58.33 |   60.86 |   75.49 |                                                                                                                     
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                     
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                                  
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                                   
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                     
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                     
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                               
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                               
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                     
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                                   
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                                
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                             
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                                
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                                   
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                               
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                     
---------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 4 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |    66.6 |    45.54 |   49.06 |    66.4 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   84.07 |    42.22 |   67.56 |   83.44 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                           
  textTooltip.tsx                            |   91.66 |       85 |     100 |   91.66 | 41-42                                                                                                           
 common/components/Boards                    |   51.33 |    41.57 |   46.51 |   52.11 |                                                                                                                 
  ListTask.tsx                               |   60.65 |    36.84 |   52.94 |   61.34 | 89-90,95-106,217-309,345-348,356-385,402,413,454-535                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.11 |    44.91 |   44.11 |   44.33 | 130-137,141-167,171-205,228-242,263-273,284-298,305-318,328-349,355-356,364-385,396,403,410,429-453,502,614-634 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   77.08 |    54.28 |   53.84 |   75.55 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.75 |    54.54 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                 
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   47.41 |    26.26 |   30.23 |   47.36 |                                                                                                                 
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                          
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.14 | 89-96,104-130,137-139,143-151,166-177,191-194,201-204,211-238,282-317,343,388-401,429-470                       
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                    
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                 
 features/auth/pages                         |   60.41 |    23.07 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    23.07 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   73.12 |       60 |   54.41 |   75.49 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   78.01 |    61.22 |   60.46 |   79.06 | 265,272,299-300,304-305,309-312,316-324,338-495                                                                 
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   78.91 |    57.69 |    61.7 |   76.68 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 4 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |    66.6 |     45.5 |   49.06 |   66.41 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   83.43 |    41.93 |   67.56 |   82.78 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                           
  textTooltip.tsx                            |   86.66 |    78.26 |     100 |   86.66 | 40-41,58,66                                                                                                     
 common/components/Boards                    |   51.33 |    41.57 |   46.51 |   52.11 |                                                                                                                 
  ListTask.tsx                               |   60.65 |    36.84 |   52.94 |   61.34 | 89-90,95-106,217-309,345-348,356-385,402,413,454-535                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.11 |    44.91 |   44.11 |   44.33 | 130-137,141-167,171-205,228-242,263-273,284-298,305-318,328-349,355-356,364-385,396,403,410,429-453,502,611-631 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   77.08 |    54.28 |   53.84 |   75.55 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.75 |    54.54 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                 
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   47.41 |    26.26 |   30.23 |   47.36 |                                                                                                                 
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-174                                                                                                          
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.14 | 89-96,104-130,137-139,143-151,166-177,191-194,201-204,211-238,282-317,343,388-401,429-470                       
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                    
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                 
 features/auth/pages                         |   60.41 |    23.07 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    23.07 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   73.12 |       60 |   54.41 |   75.49 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   78.01 |    61.22 |   60.46 |   79.06 | 265,272,299-300,304-305,309-312,316-324,338-495                                                                 
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   78.91 |    57.69 |    61.7 |   76.68 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 2 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |    66.6 |    45.63 |   49.06 |   66.41 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   83.43 |    41.93 |   67.56 |   82.78 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                           
  textTooltip.tsx                            |   86.66 |    78.26 |     100 |   86.66 | 40-41,58,66                                                                                                     
 common/components/Boards                    |   51.33 |    41.57 |   46.51 |   52.11 |                                                                                                                 
  ListTask.tsx                               |   60.65 |    36.84 |   52.94 |   61.34 | 89-90,95-106,217-309,345-348,356-385,402,413,454-535                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 70,76,80-103,111-121,170                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.11 |    44.91 |   44.11 |   44.33 | 130-137,141-167,171-205,228-242,263-273,284-298,305-318,328-349,355-356,364-385,396,403,410,429-453,502,611-631 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   77.08 |    54.28 |   53.84 |   75.55 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.75 |    54.54 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                 
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   47.41 |    26.26 |   30.23 |   47.36 |                                                                                                                 
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-188                                                                                                          
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.14 | 89-96,104-130,137-139,143-151,166-177,191-194,201-204,211-238,282-317,343,388-401,429-470                       
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                    
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   73.12 |       60 |   54.41 |   75.49 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   78.01 |    61.22 |   60.46 |   79.06 | 265,272,299-300,304-305,309-312,316-324,338-495                                                                 
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   78.91 |    57.69 |    61.7 |   76.68 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
github-actions[bot] commented 2 months ago

Code Coverage Results:

---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
File                                         | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                               
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------
All files                                    |   66.39 |    44.63 |   48.78 |   66.18 |                                                                                                                 
 api/apiHooks                                |   41.37 |        0 |   11.11 |   30.98 |                                                                                                                 
  index.ts                                   |   36.25 |        0 |       4 |   25.75 | 10-11,23-30,38-45,57-64,74-81,85-91,95-101,105-114,118-125,129-135,139-145,149-150                              
  userHooks.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
 common                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  constants.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  enums.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components                           |   82.96 |       30 |   63.63 |   82.11 |                                                                                                                 
  CurrentUser.tsx                            |     100 |       75 |     100 |     100 | 16                                                                                                              
  EmptyWrapper.tsx                           |     100 |    33.33 |     100 |     100 | 13-16                                                                                                           
  ErrorDisplay.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  InputWrapper.tsx                           |     100 |       50 |     100 |     100 | 16-22                                                                                                           
  ModalConfirm.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  OverflowText.tsx                           |     100 |      100 |     100 |     100 |                                                                                                                 
  Pagination.tsx                             |   66.66 |     3.03 |      50 |   63.15 | 33,42-98                                                                                                        
  PasswordField.tsx                          |   88.88 |       50 |      50 |     100 | 45-55                                                                                                           
  SearchableSelectField.tsx                  |   77.77 |    63.63 |   66.66 |   76.92 | 47,58,68-75                                                                                                     
  SelectField.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  StandaloneToast.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  TextField.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  TextareaField.tsx                          |     100 |      100 |     100 |     100 |                                                                                                                 
  Toogle.tsx                                 |   73.91 |    45.45 |   33.33 |   71.42 | 17-20,40-66                                                                                                     
  WorkflowModal.tsx                          |   72.72 |      100 |       0 |      70 | 31-35                                                                                                           
 common/components/Boards                    |   51.78 |    41.66 |   47.12 |   52.56 |                                                                                                                 
  ListTask.tsx                               |   61.29 |     37.5 |   52.94 |   61.98 | 91-92,97-108,237-329,365-368,376-405,422,433,474-555                                                            
  ModalBoard.tsx                             |    60.6 |       30 |   33.33 |    60.6 | 72,78,82-105,113-123,172                                                                                        
  TaskSkeleton.tsx                           |      75 |      100 |       0 |      75 | 13                                                                                                              
  index.tsx                                  |   43.75 |    44.91 |   45.71 |   44.95 | 134-141,145-175,179-213,236-250,271-281,292-306,313-326,336-357,363-364,372-393,404,411,418,441-465,514,646-666 
  useBoard.tsx                               |      52 |       50 |      60 |      50 | 19-23,33-43                                                                                                     
  useClearCacheTask.ts                       |   77.77 |      100 |   33.33 |   77.77 | 13-14                                                                                                           
 common/components/CardDetails               |    90.9 |        0 |      50 |      90 |                                                                                                                 
  index.tsx                                  |    90.9 |        0 |      50 |      90 | 28                                                                                                              
 common/components/DateRangePicker           |   77.77 |       50 |   33.33 |   77.77 |                                                                                                                 
  index.tsx                                  |   77.77 |       50 |   33.33 |   77.77 | 40-56                                                                                                           
 common/components/IFrame                    |    12.5 |        0 |       0 |    12.5 |                                                                                                                 
  index.tsx                                  |    12.5 |        0 |       0 |    12.5 | 10-55                                                                                                           
 common/components/Page                      |     100 |      100 |     100 |     100 |                                                                                                                 
  PageBody.tsx                               |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeader.tsx                             |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderLeft.tsx                         |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeaderRight.tsx                        |     100 |      100 |     100 |     100 |                                                                                                                 
  PageHeading.tsx                            |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 common/components/Table                     |   77.08 |    54.28 |   53.84 |   75.55 |                                                                                                                 
  PageSize.tsx                               |      90 |      100 |      50 |   88.88 | 26                                                                                                              
  ShowingItemText.tsx                        |     100 |       50 |     100 |     100 | 16                                                                                                              
  Table.tsx                                  |   68.75 |    54.54 |      50 |   67.74 | 65-67,71-73,122-128,181-182                                                                                     
 common/components/TextGroup                 |     100 |      100 |     100 |     100 |                                                                                                                 
  TextGroup.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/RequestTemplates                   |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 22                                                                                                              
 features/RequestTemplates/components        |    64.7 |       50 |   29.03 |   66.66 |                                                                                                                 
  RequestTemplateTable.tsx                   |   64.54 |       50 |      30 |   66.99 | 90-93,98-100,104-106,110-111,157-177,214,221,236-240,244-247,251,328-362                                        
  RowAction.tsx                              |   66.66 |      100 |       0 |    62.5 | 26-29                                                                                                           
 features/RequestTemplates/components/forms  |   47.41 |    26.26 |   30.23 |   47.36 |                                                                                                                 
  CreateForm.tsx                             |   38.23 |        0 |       0 |   38.23 | 51-124                                                                                                          
  DefineInputForm.tsx                        |   37.14 |        0 |       0 |   37.14 | 51-188                                                                                                          
  RequestForm.tsx                            |   52.08 |    29.88 |   44.82 |   52.14 | 89-96,104-130,137-139,143-151,166-177,191-194,201-204,211-238,282-317,343,388-401,429-470                       
 features/RequestTemplates/components/modals |     100 |      100 |     100 |     100 |                                                                                                                 
  CreateTemplateModal.tsx                    |     100 |      100 |     100 |     100 |                                                                                                                 
  DefineTemplateInputModal.tsx               |     100 |      100 |     100 |     100 |                                                                                                                 
  RequestTemplateModal.tsx                   |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks                              |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/Tasks/components                   |   67.59 |    52.23 |   43.13 |   68.29 |                                                                                                                 
  RequestInput.tsx                           |   92.85 |       75 |     100 |    92.3 | 14                                                                                                              
  TaskDetailModal.tsx                        |      50 |     40.9 |   25.92 |   51.85 | 78-79,97,111-119,124-133,145-155,159-172,182-200,219,267-375                                                    
  TasksBoard.tsx                             |      84 |    73.68 |   59.09 |   82.85 | 102,154-160,171,185,200-250,280                                                                                 
 features/auth/pages                         |   60.41 |    30.76 |      40 |   60.41 |                                                                                                                 
  Login.tsx                                  |   60.41 |    30.76 |      40 |   60.41 | 42,63-85,95-100,105-111                                                                                         
 features/report                             |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 9                                                                                                               
 features/report/components                  |   82.26 |    49.29 |      65 |   83.84 |                                                                                                                 
  DetailModal.tsx                            |   91.42 |    53.33 |    87.5 |   91.17 | 48,53,151                                                                                                       
  PostAndWFHTable.tsx                        |   77.31 |    46.34 |   58.06 |   79.54 | 78-86,92-93,99,114-115,119,185,192,233-270                                                                      
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
 features/requestDevices                     |     100 |       50 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |       50 |     100 |     100 | 11                                                                                                              
 features/requestDevices/components          |   73.12 |       60 |   54.41 |   75.49 |                                                                                                                 
  DetailModal.tsx                            |   60.52 |    56.52 |   41.66 |   65.15 | 65-66,87,95-105,127-128,133,152,169-176,181-194,329                                                             
  MyRequestTable.tsx                         |   78.01 |    61.22 |   60.46 |   79.06 | 270,277,304-305,309-310,314-317,321-329,343-500                                                                 
  RowAction.tsx                              |     100 |       80 |     100 |     100 | 28                                                                                                              
 features/userManagement                     |     100 |      100 |     100 |     100 |                                                                                                                 
  index.tsx                                  |     100 |      100 |     100 |     100 |                                                                                                                 
 features/userManagement/components          |   60.58 |    20.83 |   40.54 |   59.68 |                                                                                                                 
  RowAction.tsx                              |     100 |      100 |     100 |     100 |                                                                                                                 
  UserForm.tsx                               |   23.52 |        0 |       0 |   23.52 | 30-255                                                                                                          
  UserManagementTable.tsx                    |   86.36 |    41.66 |   66.66 |   88.33 | 124,131,140-142,146,166                                                                                         
  UserModal.tsx                              |      50 |        0 |       0 |   45.45 | 27-55                                                                                                           
 hooks                                       |   90.62 |       25 |    87.5 |   90.62 |                                                                                                                 
  useCurrentUser.ts                          |      90 |        0 |     100 |      90 | 9                                                                                                               
  useDebounced.ts                            |      90 |      100 |      75 |      90 | 7                                                                                                               
  useIsAdmin.ts                              |   91.66 |    33.33 |     100 |   91.66 | 10                                                                                                              
 stores                                      |   35.29 |      100 |       0 |   38.46 |                                                                                                                 
  appConfig.ts                               |   35.29 |      100 |       0 |   38.46 | 16-34                                                                                                           
 themes                                      |     100 |      100 |     100 |     100 |                                                                                                                 
  drawerTheme.ts                             |     100 |      100 |     100 |     100 |                                                                                                                 
  menuTheme.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  theme.ts                                   |     100 |      100 |     100 |     100 |                                                                                                                 
 utils                                       |   78.91 |    57.69 |    61.7 |   76.68 |                                                                                                                 
  convertToCase.ts                           |     100 |      100 |     100 |     100 |                                                                                                                 
  dateUtils.ts                               |   95.45 |    71.42 |     100 |   94.73 | 20                                                                                                              
  extractContent.ts                          |   85.71 |       25 |     100 |   83.33 | 5                                                                                                               
  formatDate.ts                              |     100 |      100 |     100 |     100 |                                                                                                                 
  getColorTypeRequest.ts                     |    92.3 |       50 |     100 |   91.66 | 19                                                                                                              
  getDayAgo.ts                               |     100 |      100 |     100 |     100 |                                                                                                                 
  getStatusByIndex.ts                        |   85.71 |      100 |     100 |   81.81 | 10,20                                                                                                           
  handleExportExcelFile.ts                   |    37.5 |        0 |       0 |   28.57 | 10-14                                                                                                           
  index.ts                                   |     100 |      100 |   52.94 |     100 |                                                                                                                 
  isObjectEmpty.ts                           |      80 |    66.66 |     100 |      75 | 5                                                                                                               
  isValidJson.ts                             |      25 |        0 |       0 |   14.28 | 2-10                                                                                                            
  localStorage.ts                            |      75 |      100 |      25 |    62.5 | 6,10,14                                                                                                         
  parseJwt.ts                                |   16.66 |        0 |       0 |      10 | 2-18                                                                                                            
  removeDiacritics.ts                        |   66.66 |      100 |       0 |      50 | 2                                                                                                               
  subtractTime.ts                            |   52.94 |        0 |       0 |   52.94 | 17-30                                                                                                           
  validateWFHDates.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
  validationSchema.ts                        |     100 |      100 |     100 |     100 |                                                                                                                 
---------------------------------------------|---------|----------|---------|---------|-----------------------------------------------------------------------------------------------------------------