refactor: inject dependencies to test action as a module #150
-533
-533 health score points
Details
Score Breakdown
Problematic Comments
Each problematic comment (i.e. comments with TODO, HACK or FIXME in it) contributes -100 points to the health score.
// TODO: handle API call erroring out// TODO: wire up action outputs////|/\\*|\\*).*\\b(${CommentType.TODO}|${CommentType.HACK}|${CommentType.FIXME})\\b;`// example line output = "./src/report.js:47: // TODO: handle API call erroring out"
Code Coverage
According to the code coverage for this project, there are 33 uncovered lines of code. Each uncovered line of code contributes -1 to the health score.
Annotations
Check warning on line 49 in src/report.js
github-actions / Health Score
src/report.js#L49
Problematic comment ("TODO") identified
Check warning on line 23 in src/health-score.js
github-actions / Health Score
src/health-score.js#L23
Problematic comment ("TODO") identified
Check warning on line 8 in src/score_components/find-problematic-comments.js
github-actions / Health Score
src/score_components/find-problematic-comments.js#L8
Problematic comment ("TODO", "HACK", "FIXME") identified
Check warning on line 57 in src/score_components/find-problematic-comments.js
github-actions / Health Score
src/score_components/find-problematic-comments.js#L57
Problematic comment ("TODO", "HACK", "FIXME") identified
Check warning on line 72 in src/score_components/find-problematic-comments.js
github-actions / Health Score
src/score_components/find-problematic-comments.js#L72
Problematic comment ("TODO", "HACK", "FIXME") identified