nuxt / telemetry

Nuxt Telemetry
MIT License
205 stars 23 forks source link

test: add type test and improve type-safety #117

Closed danielroe closed 11 months ago

codecov-commenter commented 11 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (8de4ea8) 83.11% compared to head (4012653) 84.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #117 +/- ## ========================================== + Coverage 83.11% 84.67% +1.56% ========================================== Files 19 19 Lines 616 620 +4 Branches 74 76 +2 ========================================== + Hits 512 525 +13 + Misses 102 94 -8 + Partials 2 1 -1 ``` | [Files](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt) | Coverage Δ | | |---|---|---| | [src/consent.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL2NvbnNlbnQudHM=) | `55.26% <100.00%> (ø)` | | | [src/events/command.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL2V2ZW50cy9jb21tYW5kLnRz) | `96.96% <100.00%> (+13.09%)` | :arrow_up: | | [src/module.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL21vZHVsZS50cw==) | `95.65% <100.00%> (ø)` | | | [src/utils/nuxtrc.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL3V0aWxzL251eHRyYy50cw==) | `100.00% <100.00%> (ø)` | | | [src/context.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL2NvbnRleHQudHM=) | `95.08% <66.66%> (+2.51%)` | :arrow_up: | | [src/events/build.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL2V2ZW50cy9idWlsZC50cw==) | `46.87% <0.00%> (-1.52%)` | :arrow_down: | | [src/telemetry.ts](https://app.codecov.io/gh/nuxt/telemetry/pull/117?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nuxt#diff-c3JjL3RlbGVtZXRyeS50cw==) | `78.12% <50.00%> (+3.12%)` | :arrow_up: |

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