MCPcopy
hub / github.com/ampproject/amphtml / resetShadowStyleCacheForTesting

Function resetShadowStyleCacheForTesting

src/core/dom/shadow-embed.js:40–42  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

38 * @visibleForTesting
39 */
40export function resetShadowStyleCacheForTesting(win) {
41 win[SHADOW_CSS_CACHE] = null;
42}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected