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

Function createWrapper

site/src/modules/resources/useAgentContainers.test.tsx:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16import { useAgentContainers } from "./useAgentContainers";
17
18const createWrapper = (): FC<PropsWithChildren> => {
19 const queryClient = createTestQueryClient();
20 return ({ children }) => (
21 <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
22 );
23};
24
25describe("useAgentContainers", () => {
26 it("returns containers when agent is connected", async () => {

Callers 1

Calls 1

createTestQueryClientFunction · 0.90

Tested by

no test coverage detected