MCPcopy
hub / github.com/MiniMax-AI/cli / makeConfig

Function makeConfig

test/client/http.test.ts:7–22  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

5import type { Config } from '../../src/config/schema';
6
7function makeConfig(baseUrl: string): Config {
8 return {
9 apiKey: 'test-api-key',
10 region: 'global',
11 baseUrl,
12 output: 'text',
13 timeout: 10,
14 verbose: false,
15 quiet: false,
16 noColor: false,
17 yes: false,
18 dryRun: false,
19 nonInteractive: false,
20 async: false,
21 };
22}
23
24describe('HTTP client', () => {
25 let server: MockServer;

Callers 1

http.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected