MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / http.test.ts

File http.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest';
2import { ApiError, RequestTimeoutError, TransportError } from './errors.js';
3import type { DebugEvent } from './http.js';
4import { HttpClient, REQUEST_TIMEOUT_DEFAULT_MS, buildUrl, parseRetryAfter } from './http.js';

Callers

nothing calls this directly

Calls 7

buildUrlFunction · 0.85
parseRetryAfterFunction · 0.85
makeTimingClientFunction · 0.85
jsonResponseFunction · 0.70
makeClientFunction · 0.70
errorEnvelopeResponseFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected