fix: check len of state before accessing power state #871
Codecov / codecov/project
failed
Apr 7, 2026 in 0s
40.70% (-0.01%) compared to 18b4cdf
View this Pull Request on Codecov
40.70% (-0.01%) compared to 18b4cdf
Details
Codecov Report
❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.70%. Comparing base (18b4cdf) to head (bcc0a94).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| internal/usecase/devices/power.go | 0.00% | 1 Missing and 1 partial |
Additional details and impacted files
@@ Coverage Diff @@
## main #871 +/- ##
==========================================
- Coverage 40.71% 40.70% -0.01%
==========================================
Files 114 114
Lines 10869 10871 +2
==========================================
Hits 4425 4425
- Misses 6051 6052 +1
- Partials 393 394 +1 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading