MCPcopy Index your code
hub / github.com/coder/coder / createTestQueryClient

Function createTestQueryClient

site/src/api/queries/workspaces.test.ts:16–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14} from "./workspaces";
15
16const createTestQueryClient = (): QueryClient =>
17 new QueryClient({
18 defaultOptions: {
19 queries: {
20 retry: false,
21 gcTime: Number.POSITIVE_INFINITY,
22 refetchOnWindowFocus: false,
23 networkMode: "offlineFirst",
24 },
25 },
26 });
27
28const workspacesResponse = {
29 workspaces: [],

Callers 1

workspaces.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected