|
Ran
|
Jobs
1
|
Files
524
|
Run time
5s
|
Badge
README BADGES
|
push
github
Refactor state handlers memoization (#2492) * Replace props with propsRef.current As propsRef.current is memoized and mutable, this eliminates the need for complex dependency arrays. * Use useTypedSelector for some state variables * Fix tests * Fix formatting * Revert "Use useTypedSelector for some state variables" This reverts commit a52bf9415. * Revert "Replace props with propsRef.current" This reverts commit 153a9b38c. * Revert "Fix tests" This reverts commit e2c7fc788. * Simplify Playground handlers memoization * Use named imports for React hooks in Playground * Update test snapshots * Simplify Sourcecast handlers memoization * Simplify GitHubAssessmentWorkspace handlers memoization * Remove completed TODO comment * Use Role enum instead of string in route check * Replace unnecessary template literals with strings. * Remove unnecessary fragment * Make tags self-closing where applicable Improves code cleanliness. * Move constants out of component This prevents them from being unnecessarily recreated on rerenders. * Remove more unnecessary fragments
2014 of 6194 branches covered (32.52%)
Branch coverage included in aggregate %.
47 of 98 new or added lines in 5 files covered. (47.96%)
1 existing line in 1 file now uncovered.5349 of 13243 relevant lines covered (40.39%)
17.96 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
14.29 |
0.0% | src/pages/academy/storySimulator/subcomponents/StorySimulatorAssetViewer.tsx |
| 5 |
78.72 |
0.0% | src/commons/navigationBar/NavigationBar.tsx |
| 6 |
51.14 |
-0.66% | src/pages/playground/Playground.tsx |
| 8 |
0.46 |
0.0% | src/pages/githubAssessments/GitHubAssessmentWorkspace.tsx |
| 30 |
2.8 |
0.34% | src/pages/sourcecast/Sourcecast.tsx |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
0.68 |
0.0% | src/pages/academy/grading/subcomponents/GradingWorkspace.tsx |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 5219065445.1 | 524 |
37.88 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|