MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getFlow

Function getFlow

__tests__/ui-flow-api.test.ts:71–76  ·  view source on GitHub ↗
(query: string, expected = 200)

Source from the content-addressed store, hash-verified

69}
70
71async function getFlow(query: string, expected = 200): Promise<any> {
72 const res = await request(`/api/flow${query}`);
73 expect(res.type).toBe('application/json; charset=utf-8');
74 expect(res.status).toBe(expected);
75 return JSON.parse(res.body);
76}
77
78function write(root: string, rel: string, body: string): void {
79 const full = path.join(root, rel);

Callers 1

Calls 2

parseMethod · 0.80
requestFunction · 0.70

Tested by

no test coverage detected