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

Function readShellStylesheetMarker

e2e/scenarios/artifacts.test.ts:165–170  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

163// swapped-in link only counts once loaded), which made an equality-of-counts
164// assertion flaky.
165const readShellStylesheetMarker = (page: Page): Promise<string> =>
166 page.evaluate(() =>
167 getComputedStyle(document.documentElement)
168 .getPropertyValue("--mcp-apps-shell-stylesheet")
169 .trim(),
170 );
171
172scenario(
173 "Artifacts · create-artifact hands a non-Apps client a deep link that renders the live component",

Callers 1

artifacts.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected