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

stacklok / codegate-ui / 13808282424

12 Mar 2025 09:43AM UTC coverage: 66.452% (+0.1%) from 66.347%
13808282424

Pull #379

github

web-flow
Merge d1ad42c49 into 0fb0ba74f
Pull Request #379: feat: shareable workspaces MVP (frontend)

428 of 707 branches covered (60.54%)

Branch coverage included in aggregate %.

36 of 72 new or added lines in 14 files covered. (50.0%)

1 existing line in 1 file now uncovered.

913 of 1311 relevant lines covered (69.64%)

40.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/features/providers/hooks/use-query-workspaces-by-provider.ts
1
import { v1ListWorkspacesOptions } from '@/api/generated/@tanstack/react-query.gen'
2
import { useQuery } from '@tanstack/react-query'
3

4
export function useQueryWorkspacesByProvider(
5
  providerName: string | undefined | null
6
) {
NEW
7
  if (!providerName) {
×
NEW
8
    throw new Error('providerName is required')
×
9
  }
10

11
  return useQuery({
×
12
    ...v1ListWorkspacesOptions({ query: { provider_name: providerName } }),
13
    // eslint-disable-next-line no-restricted-syntax
14
    refetchOnMount: true,
15
  })
16
}
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

© 2025 Coveralls, Inc