MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / makeConfig

Function makeConfig

test/auth/resolver.test.ts:8–23  ·  view source on GitHub ↗
(overrides: Partial<Config> = {})

Source from the content-addressed store, hash-verified

6import { tmpdir } from 'os';
7
8function makeConfig(overrides: Partial<Config> = {}): Config {
9 return {
10 region: 'global' as const,
11 baseUrl: 'https://api.mmx.io',
12 output: 'text',
13 timeout: 300,
14 verbose: false,
15 quiet: false,
16 noColor: false,
17 yes: false,
18 dryRun: false,
19 nonInteractive: false,
20 async: false,
21 ...overrides,
22 };
23}
24
25describe('resolveCredential', () => {
26 const testDir = join(tmpdir(), `mmx-resolver-test-${Date.now()}`);

Callers 1

resolver.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected