MCPcopy
hub / github.com/MiniMax-AI/cli / http.test.ts

File http.test.ts

test/client/http.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, afterEach } from 'bun:test';
2import { requestJson } from '../../src/client/http';
3import { CLI_VERSION } from '../../src/version';
4import { createMockServer, jsonResponse, type MockServer } from '../helpers/mock-server';

Callers

nothing calls this directly

Calls 5

createMockServerFunction · 0.90
jsonResponseFunction · 0.90
requestJsonFunction · 0.90
closeMethod · 0.80
makeConfigFunction · 0.70

Tested by

no test coverage detected