MCPcopy Create free account
hub / github.com/ampproject/amphtml / factory2

Function factory2

test/unit/test-extensions.js:712–714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

710 .callsFake(() => false);
711 const factory1 = env.sandbox.spy();
712 const factory2 = function () {
713 throw new Error('intentional');
714 };
715 const factory3 = env.sandbox.spy();
716 extensions.registerExtension(
717 'amp-ext',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected