MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / makeClient

Function makeClient

src/commands/project.ts:518–525  ·  view source on GitHub ↗
(opts: CommonOptions, deps: ProjectDeps)

Source from the content-addressed store, hash-verified

516}
517
518function makeClient(opts: CommonOptions, deps: ProjectDeps): HttpClient {
519 return makeHttpClient(opts, {
520 env: deps.env,
521 credentialsPath: deps.credentialsPath,
522 fetchImpl: deps.fetchImpl,
523 stderr: deps.stderr,
524 });
525}
526
527function makeOutput(mode: OutputMode, deps: ProjectDeps): Output {
528 return new Output(mode, { stdout: deps.stdout, stderr: deps.stderr });

Callers 4

runListFunction · 0.70
runGetFunction · 0.70
runCreateFunction · 0.70
runUpdateFunction · 0.70

Calls 1

makeHttpClientFunction · 0.85

Tested by

no test coverage detected