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

Method get

src/lib/http.ts:183–185  ·  view source on GitHub ↗
(path: string, options: RequestOptions = {})

Source from the content-addressed store, hash-verified

181 }
182
183 async get<T>(path: string, options: RequestOptions = {}): Promise<T> {
184 return this.requestWithMeta<T>('GET', path, options).then(r => r.body);
185 }
186
187 async post<T>(path: string, options: RequestOptions = {}): Promise<T> {
188 return this.requestWithMeta<T>('POST', path, options).then(r => r.body);

Callers 2

listTestRunsMethod · 0.95
getRunMethod · 0.95

Calls 1

requestWithMetaMethod · 0.95

Tested by

no test coverage detected