sapphiredev / utilities

Common JavaScript utilities for Sapphire Projects
https://www.sapphirejs.dev/
MIT License
153 stars 39 forks source link

fix(fetch): handle non object bodies properly #786

Closed favna closed 1 month ago

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.57143% with 3 lines in your changes missing coverage. Please review.

Project coverage is 64.76%. Comparing base (c6f8a90) to head (9f6bbbd). Report is 1 commits behind head on main.

Files Patch % Lines
packages/fetch/src/lib/fetch.ts 78.57% 0 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #786 +/- ## ========================================== + Coverage 64.74% 64.76% +0.01% ========================================== Files 257 257 Lines 8189 8201 +12 Branches 867 1494 +627 ========================================== + Hits 5302 5311 +9 Misses 2882 2882 - Partials 5 8 +3 ``` | [Flag](https://app.codecov.io/gh/sapphiredev/utilities/pull/786/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev) | Coverage Δ | | |---|---|---| | [18](https://app.codecov.io/gh/sapphiredev/utilities/pull/786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev) | `64.76% <78.57%> (+0.01%)` | :arrow_up: | | [19](https://app.codecov.io/gh/sapphiredev/utilities/pull/786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev) | `64.76% <78.57%> (+0.01%)` | :arrow_up: | | [20](https://app.codecov.io/gh/sapphiredev/utilities/pull/786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev) | `64.76% <78.57%> (+0.01%)` | :arrow_up: | | [21](https://app.codecov.io/gh/sapphiredev/utilities/pull/786/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev) | `64.76% <78.57%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sapphiredev#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.