beeauvin / sunbeams

a little something to brighten your day
Mozilla Public License 2.0
2 stars 0 forks source link

refactor(utility): extract most of lint.fs into a utility with tests #35

Closed beeauvin closed 1 year ago

beeauvin commented 1 year ago

Closes #33

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 71.05% and project coverage change: +13.82 :tada:

Comparison is base (10731b8) 50.32% compared to head (3275bc4) 64.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #35 +/- ## =========================================== + Coverage 50.32% 64.15% +13.82% =========================================== Files 13 17 +4 Lines 153 159 +6 Branches 19 21 +2 =========================================== + Hits 77 102 +25 + Misses 74 53 -21 - Partials 2 4 +2 ``` | [Impacted Files](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary) | Coverage Δ | | |---|---|---| | [src/commands/lint/lint.fs.ts](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary#diff-c3JjL2NvbW1hbmRzL2xpbnQvbGludC5mcy50cw==) | `16.66% <15.38%> (+8.55%)` | :arrow_up: | | [...rc/utilities/filesystem/find-files-in-directory.ts](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary#diff-c3JjL3V0aWxpdGllcy9maWxlc3lzdGVtL2ZpbmQtZmlsZXMtaW4tZGlyZWN0b3J5LnRz) | `100.00% <100.00%> (ø)` | | | [src/utilities/filesystem/index.ts](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary#diff-c3JjL3V0aWxpdGllcy9maWxlc3lzdGVtL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | | | [.../utilities/filesystem/recursively-find-files-up.ts](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary#diff-c3JjL3V0aWxpdGllcy9maWxlc3lzdGVtL3JlY3Vyc2l2ZWx5LWZpbmQtZmlsZXMtdXAudHM=) | `100.00% <100.00%> (ø)` | | | [src/utilities/filesystem/write-file.ts](https://codecov.io/gh/sunbeamsanctuary/sunbeams/pull/35?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sunbeamsanctuary#diff-c3JjL3V0aWxpdGllcy9maWxlc3lzdGVtL3dyaXRlLWZpbGUudHM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.