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

Function readShellStylesheetMarker

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

Source from the content-addressed store, hash-verified

168// swapped-in link only counts once loaded), which made an equality-of-counts
169// assertion flaky.
170const readShellStylesheetMarker = (page: Page): Promise<string> =>
171 page.evaluate(() =>
172 getComputedStyle(document.documentElement)
173 .getPropertyValue("--mcp-apps-shell-stylesheet")
174 .trim(),
175 );
176
177scenario(
178 "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