MCPcopy Create free account
hub / github.com/coder/coder / createTestQueryClient

Function createTestQueryClient

site/src/api/queries/userSkills.test.ts:12–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10} from "./userSkills";
11
12const createTestQueryClient = (): QueryClient =>
13 new QueryClient({
14 defaultOptions: {
15 queries: {
16 retry: false,
17 gcTime: Number.POSITIVE_INFINITY,
18 refetchOnWindowFocus: false,
19 networkMode: "offlineFirst",
20 },
21 },
22 });
23
24const makeSkill = (
25 name: string,

Callers 1

userSkills.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected