Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ resetStubsForTesting
Function
resetStubsForTesting
src/custom-element.js:2194–2196 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2192
* @visibleForTesting
2193
*/
2194
export
function
resetStubsForTesting() {
2195
stubbedElements.length = 0;
2196
}
2197
2198
/**
2199
* @param {!AmpElement} element
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected