UniversityOfSaskatchewanCMPT371 / term-project-2024-team-3

3 stars 2 forks source link

created the delete user profile method #291

Closed ralphgregorio closed 6 months ago

ralphgregorio commented 6 months ago

Resolves # (issue)

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

UAT Steps (if applicable)

If your changes are hard to follow, please describe how to manually test your changes as if a user was testing your changes.

github-actions[bot] commented 6 months ago

Backend Code Coverage Report

Overall Project 13.17% -0.71% :x:
Files changed 0% :x:


File Coverage
UserController.java 0% -30.74% :x:
LoginUserController.java 0% :green_apple:
github-actions[bot] commented 6 months ago

Frontend Code Coverage Report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
71.21% (+71.21% πŸ”Ό)
512/719
πŸ”΄ Branches
55.79% (+55.79% πŸ”Ό)
130/233
🟑 Functions
69.94% (+69.94% πŸ”Ό)
121/173
🟑 Lines
71.87% (+71.87% πŸ”Ό)
511/711
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / baseapi.ts
| 100% | 75% | 100% | 100% | | 🟒 | shared/api/Api.ts | 100% | 50% | 100% | 100% | | 🟒 |
`...` / useLogin.ts
| 100% | 100% | 100% | 100% | | 🟑 |
`...` / LoginPage.tsx
| 74.42% | 70% | 58.33% | 74.42% | | 🟒 |
`...` / useSignup.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / SignUpPage.tsx
| 80.3% | 69.23% | 68.75% | 80.3% | | 🟑 |
`...` / index.ts
| 78.95% | 58.33% | 100% | 78.95% | | 🟒 |
`...` / PrivacyPolicy.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useUpload.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / index.tsx
| 0% | 100% | 0% | 0% | | πŸ”΄ |
`...` / FileDropzone.tsx
| 1.72% | 0% | 0% | 1.85% | | 🟒 |
`...` / useIsUserLoggedIn.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useAuth.tsx
| 90% | 50% | 100% | 88.89% | | 🟒 |
`...` / HelpPopup.tsx
| 85.71% | 56.25% | 100% | 85.71% | | 🟒 |
`...` / ProgressBar.tsx
| 93.55% | 89.47% | 100% | 93.55% | | 🟒 |
`...` / useGetUploadedFiles.ts
| 90.91% | 100% | 83.33% | 90.91% | | 🟒 |
`...` / useProcessFile.ts
| 100% | 50% | 100% | 100% | | 🟑 |
`...` / ErrorSnackbar.tsx
| 73.33% | 66.67% | 50% | 73.33% | | 🟒 |
`...` / UploadedFiles.tsx
| 91.11% | 66.67% | 100% | 91.11% | | 🟒 |
`...` / useGetProcessedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / usePredictFile.ts
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / useDownload.ts
| 45.45% | 0% | 75% | 48.39% | | πŸ”΄ |
`...` / ProcessedDataPage.tsx
| 49.33% | 29.73% | 66.67% | 49.33% | | 🟒 |
`...` / ProtectedRoute.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / HomePage.tsx
| 57.14% | 100% | 33.33% | 57.14% | | 🟒 |
`...` / useGetPredictedDataList.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / useLogout.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.css
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / LoadingSpinner.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Logout.tsx
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / Navbar.tsx
| 100% | 75% | 100% | 100% | | 🟒 |
`...` / useDeleteFile.ts
| 100% | 100% | 100% | 100% | | 🟒 |
`...` / FileDropzoneControls.tsx
| 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / PredictedDataPage.tsx
| 50% | 35.71% | 16.67% | 51.72% | | πŸ”΄ |
`...` / FileUploadPage.tsx
| 45.45% | 25% | 40% | 45.45% | | πŸ”΄ |
`...` / GoogleLogin.tsx
| 0% | 0% | 0% | 0% |

Test suite run success

102 tests passing in 32 suites.

Report generated by πŸ§ͺjest coverage report action from b3ac56a126a63de6de4fe4ca4bfb640f02eed89b