Closed duy1111 closed 1 month ago
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 68.25 | 43.93 | 52.85 | 67.97 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 52.05 | 37.64 | 46.83 | 52.85 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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.53 | 40 | 51.61 | 46.78 | 129-136,140-166,170-204,227-241,262-272,283-291,298-305,315-336,342-343,351-371,382,389,396,413,434-458,502,593-613
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.29 | 50 | 46.8 | 66.87 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 81.17 | 56.52 | 58.33 | 81.01 | 104,111-113,172-178,189,203,218-268,298
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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.51 | 62.96 | 62.22 | 75.16 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 67.96 | 43.66 | 52.85 | 67.63 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 52.05 | 37.64 | 46.83 | 52.85 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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.53 | 40 | 51.61 | 46.78 | 129-136,140-166,170-204,227-241,262-272,283-291,298-305,315-336,342-343,351-371,382,389,396,413,434-458,502,593-613
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.85 | 51.61 | 47.82 | 67.07 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 82.35 | 61.9 | 60.86 | 81.25 | 105,112-114,173-179,190,204,219-269,299
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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 | 73.33 | 51.51 | 60.86 | 70.62 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 9.09 | 0 | 0 | 9.09 | 4-15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 67.85 | 43.57 | 52.85 | 67.5 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 51.23 | 37.27 | 46.83 | 52.02 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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.77 | 39.44 | 51.61 | 45.02 | 129-136,140-166,170-204,227-241,262-272,283-291,298-305,315-336,342-343,351-371,382,389,396,407,425-449,493,584-604
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.85 | 51.61 | 47.82 | 67.07 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 82.35 | 61.9 | 60.86 | 81.25 | 105,112-114,173-179,190,204,219-269,299
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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 | 73.33 | 51.51 | 60.86 | 70.62 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 9.09 | 0 | 0 | 9.09 | 4-15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 67.88 | 43.59 | 52.85 | 67.54 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 51.47 | 37.42 | 46.83 | 52.26 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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 | 44.29 | 39.63 | 51.61 | 45.53 | 130-137,141-167,171-205,228-242,263-273,284-292,299-306,316-337,343-344,352-372,383,390,397,408,426-450,494,585-605
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.85 | 51.61 | 47.82 | 67.07 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 82.35 | 61.9 | 60.86 | 81.25 | 105,112-114,173-179,190,204,219-269,299
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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 | 73.33 | 51.51 | 60.86 | 70.62 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 9.09 | 0 | 0 | 9.09 | 4-15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 67.88 | 43.68 | 52.85 | 67.54 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 51.47 | 37.42 | 46.83 | 52.26 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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 | 44.29 | 39.63 | 51.61 | 45.53 | 130-137,141-167,171-205,228-242,263-273,284-292,299-306,316-337,343-344,352-372,383,390,397,408,426-450,494,585-605
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.85 | 52.38 | 47.82 | 67.07 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 82.35 | 63.63 | 60.86 | 81.25 | 105,112-114,173-179,190,204,219-269,299
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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 | 73.33 | 51.51 | 60.86 | 70.62 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 9.09 | 0 | 0 | 9.09 | 4-15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 67.85 | 43.68 | 52.85 | 67.5 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 51.35 | 37.42 | 46.83 | 52.14 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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 | 44.03 | 39.63 | 51.61 | 45.28 | 130-137,141-167,171-205,228-242,263-273,284-292,299-306,316-337,343-344,352-372,383,390,397,407,425-449,493,584-604
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 66.66 | 52.38 | 47.82 | 66.87 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 82.14 | 63.63 | 60.86 | 81.01 | 105,112-114,173-179,190,204,219-269,299
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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 | 73.33 | 51.51 | 60.86 | 70.62 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 9.09 | 0 | 0 | 9.09 | 4-15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Code Coverage Results:
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
All files | 68.39 | 44.44 | 53.07 | 68.08 |
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.33 | 22.41 | 66.66 | 82.6 |
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 | 75 | 50 | 66.66 | 72.72 | 39,50,60-67
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 | 78.57 | 50 | 25 | 76.92 | 20-46
common/components/Boards | 51.35 | 37.42 | 46.83 | 52.14 |
ListTask.tsx | 59.32 | 34.21 | 46.66 | 60 | 91-92,97-108,187-280,317-320,328-357,374,385,417-495
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 | 44.03 | 39.63 | 51.61 | 45.28 | 130-137,141-167,171-205,228-242,263-273,284-292,299-306,316-337,343-344,352-372,383,390,397,407,425-449,493,584-604
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/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.54 | 53.84 | 75.55 |
PageSize.tsx | 90 | 100 | 50 | 88.88 | 26
ShowingItemText.tsx | 100 | 50 | 100 | 100 | 16
Table.tsx | 68.75 | 54.83 | 50 | 67.74 | 63-65,69-71,120-126,171-172
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 | 18
features/RequestTemplates/components | 84.12 | 50 | 62.5 | 86.2 |
RequestTemplateModal.tsx | 100 | 100 | 100 | 100 |
RequestTemplateTable.tsx | 82.45 | 50 | 60 | 84.9 | 123,130,145-149,153
features/RequestTemplates/components/forms | 51.82 | 30 | 42.85 | 52.23 |
RequestForm.tsx | 51.82 | 30 | 42.85 | 52.23 | 88-95,100-125,132-134,142-144,156-167,178-181,188-191,198-225,269-304,330,375-388,416-457
features/Tasks | 100 | 100 | 100 | 100 |
index.tsx | 100 | 100 | 100 | 100 |
features/Tasks/components | 68.53 | 55.55 | 47.82 | 68.9 |
RequestInput.tsx | 92.85 | 75 | 100 | 92.3 | 14
TaskDetailModal.tsx | 45.56 | 43.24 | 28.57 | 46.47 | 64-65,83,97-105,110-119,126-164,174,223-325
TasksBoard.tsx | 85.88 | 72.72 | 60.86 | 85 | 106,174-180,191,205,220-270,300
features/auth/pages | 60.41 | 10 | 40 | 60.41 |
Login.tsx | 60.41 | 10 | 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,240-277
RowAction.tsx | 100 | 100 | 100 | 100 |
features/requestDevices | 100 | 50 | 100 | 100 |
index.tsx | 100 | 50 | 100 | 100 | 11
features/requestDevices/components | 77.71 | 61.97 | 61.53 | 78.57 |
DetailModal.tsx | 82.35 | 69.56 | 62.5 | 83.87 | 44-45,66,74,213
MyRequestTable.tsx | 75 | 58.33 | 60.46 | 75.78 | 218,225,252-253,257-258,262-266,270-287,308-460
RowAction.tsx | 100 | 100 | 100 | 100 |
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 | 0 | 83.33 | 90 |
useCurrentUser.ts | 90 | 0 | 100 | 90 | 9
useDebounced.ts | 90 | 100 | 75 | 90 | 7
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.22 | 60.6 | 63.04 | 75 |
convertToCase.ts | 100 | 100 | 100 | 100 |
dateUtils.ts | 95.45 | 71.42 | 100 | 94.73 | 20
extractContent.ts | 71.42 | 57.14 | 100 | 66.66 | 8-11
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
subtractTime.ts | 52.94 | 0 | 0 | 52.94 | 17-30
validateTypeColor.ts | 72.72 | 50 | 100 | 72.72 | 9,11,15
validateWFHDates.ts | 100 | 100 | 100 | 100 |
validationSchema.ts | 100 | 100 | 100 | 100 |
--------------------------------------------|---------|----------|---------|---------|---------------------------------------------------------------------------------------------------------------------
Checklist (check all applicable)
Description
Related Tickets & Documents
Evidence
https://www.loom.com/share/a8abf86d0ab04d0388abb03be15b8f94