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

Function factory1

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

Source from the content-addressed store, hash-verified

778 const factory1Spy = env.sandbox.spy();
779 const factory2Spy = env.sandbox.spy();
780 const factory1 = function () {
781 factory1Spy();
782 return {a: 1};
783 };
784 const factory2 = function () {
785 factory2Spy();
786 return {a: 2};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected