• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 16875956630 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 11 Aug 2025 10:00AM UTC
Files 665
Run time 28s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Aug 2025 09:20AM UTC coverage: 81.393% (+2.4%) from 79.003%
16875956630.2

push

github

web-flow
fix(frontend): type error in useServiceUsageQuery.ts (#6081)

### 💭 Notes

Without the change I was getting this error:

```ERROR in ./jsapp/js/account/usage/useServiceUsageQuery.ts:135:3
TS2322: Type 'UseQueryResult<UsageState | undefined, Error>' is not assignable to type 'UseQueryResult<UsageState>'.
  Type 'QueryObserverRefetchErrorResult<UsageState | undefined, Error>' is not assignable to type 'UseQueryResult<UsageState>'.
    Type 'QueryObserverRefetchErrorResult<UsageState | undefined, Error>' is not assignable to type 'QueryObserverRefetchErrorResult<UsageState, Error>'.
      Type 'UsageState | undefined' is not assignable to type 'UsageState'.
        Type 'undefined' is not assignable to type 'UsageState'.
    133 |   }, [params?.shouldForceInvalidation])
    134 |
  > 135 |   return useQuery({
        |   ^^^^^^
    136 |     queryKey: [QueryKeys.serviceUsage, organizationData?.id],
    137 |     queryFn: () => loadUsage(organizationData?.id || null),
    138 |     // A low stale time is needed to avoid calling the API twice on some situations
```

I remember I was getting the same error after bumping some react-query
related dependency. But now I started getting this on `main` without the
bump.

6487 of 10180 branches covered (63.72%)

24417 of 29999 relevant lines covered (81.39%)

0.81 hits per line

Source Files on job 16875956630.2
  • Tree
  • List 665
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 16875956630
  • 47bc86f7 on github
  • Prev Job for on main (#16875104273.1)
  • Next Job for on main (#16884783455.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc