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

Function scriptLoader

test/unit/ads/test-unruly.js:29–32  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

27 let expectedGlobal;
28 let expectedUrl;
29 const scriptLoader = (...args) => {
30 expectedGlobal = args[0];
31 expectedUrl = args[1];
32 };
33 unruly(mockGlobal, mockData, scriptLoader);
34 expect(expectedGlobal).to.equal(mockGlobal);
35 expect(expectedUrl).to.equal(

Callers 1

unrulyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected