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

stacklok / codegate-ui / 12906938936

22 Jan 2025 11:11AM UTC coverage: 69.114% (-0.03%) from 69.143%
12906938936

Pull #167

github

web-flow
Merge 2452ab1c1 into e77a83722
Pull Request #167: chore: update api

303 of 530 branches covered (57.17%)

Branch coverage included in aggregate %.

12 of 15 new or added lines in 4 files covered. (80.0%)

1 existing line in 1 file now uncovered.

610 of 791 relevant lines covered (77.12%)

56.82 hits per line

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

50.0
/src/features/workspace/hooks/use-active-workspaces.ts
1
import { ListActiveWorkspacesResponse } from "@/api/generated";
2
import { v1ListActiveWorkspacesOptions } from "@/api/generated/@tanstack/react-query.gen";
3
import { useQuery } from "@tanstack/react-query";
4

5
export function useActiveWorkspaces<T = ListActiveWorkspacesResponse>({
×
6
  select,
7
}: {
8
  select?: (data?: ListActiveWorkspacesResponse) => T;
9
} = {}) {
10
  return useQuery({
248✔
11
    ...v1ListActiveWorkspacesOptions(),
12
    refetchInterval: 5_000,
13
    refetchIntervalInBackground: true,
14
    refetchOnMount: true,
15
    refetchOnReconnect: true,
16
    refetchOnWindowFocus: true,
17
    retry: false,
18
    select,
19
  });
20
}
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