MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readResultArray

Function readResultArray

apps/local/src/mcp-browser-resume.test.ts:170–175  ·  view source on GitHub ↗
(structured: unknown)

Source from the content-addressed store, hash-verified

168};
169
170const readResultArray = (structured: unknown): ReadonlyArray<unknown> => {
171 const record = readStructuredRecord(structured);
172 expect(record.status).toBe("completed");
173 expect(Array.isArray(record.result)).toBe(true);
174 return record.result as ReadonlyArray<unknown>;
175};
176
177describe("local MCP browser approval resume", () => {
178 it("continues multiple elicitations from one MCP execute call through the HTTP API path", async () => {

Callers 1

Calls 1

readStructuredRecordFunction · 0.85

Tested by

no test coverage detected