MCPcopy Index your code
hub / github.com/langgenius/dify / makeClient

Function makeClient

cli/src/api/workspaces.test.ts:13–15  ·  view source on GitHub ↗
(host: string)

Source from the content-addressed store, hash-verified

11// oRPC client surfaces it as the CLI's classified HttpClientError.
12
13function makeClient(host: string): WorkspacesClient {
14 return new WorkspacesClient(testHttpClient(host, 'dfoa_test'))
15}
16
17describe('WorkspacesClient.list', () => {
18 let stub: StubServer

Callers 1

workspaces.test.tsFile · 0.70

Calls 1

testHttpClientFunction · 0.90

Tested by

no test coverage detected