MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / replaceSync

Method replaceSync

src/app/service/content/utils.test.ts:455–457  ·  view source on GitHub ↗
(css: string)

Source from the content-addressed store, hash-verified

453 class MockCSSStyleSheet {
454 cssText = "";
455 replaceSync(css: string) {
456 this.cssText = css;
457 }
458 }
459 vi.stubGlobal("CSSStyleSheet", MockCSSStyleSheet);
460 //@ts-expect-error

Callers 4

buildIframeBodyFunction · 0.80
gm_value_test.jsFile · 0.80
utils.test.tsFile · 0.80
addStyleSheetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected