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

Function readResultArray

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

Source from the content-addressed store, hash-verified

153};
154
155const readResultArray = (structured: unknown): ReadonlyArray<unknown> => {
156 const record = readStructuredRecord(structured);
157 expect(record.status).toBe("completed");
158 expect(Array.isArray(record.result)).toBe(true);
159 return record.result as ReadonlyArray<unknown>;
160};
161
162describe("local MCP browser approval resume", () => {
163 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