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

Function structuredOf

e2e/scenarios/artifact-loading-surface.test.ts:87–89  ·  view source on GitHub ↗
(result: { readonly raw: unknown })

Source from the content-addressed store, hash-verified

85`;
86
87const structuredOf = (result: { readonly raw: unknown }): Record<string, unknown> =>
88 ((result.raw as { structuredContent?: Record<string, unknown> }).structuredContent ??
89 {}) as Record<string, unknown>;
90
91const artifactContent = (page: Page) =>
92 page.frameLocator('[data-testid="artifact-shell-frame"]').frameLocator("iframe");

Calls

no outgoing calls

Tested by

no test coverage detected