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

Function createResponseInstance

test/unit/test-xhr.js:305–307  ·  view source on GitHub ↗
(body, init)

Source from the content-addressed store, hash-verified

303
304 describe('assertSuccess', () => {
305 function createResponseInstance(body, init) {
306 return new Response(body, init);
307 }
308 const mockXhr = {
309 status: 200,
310 headers: {

Callers 1

test-xhr.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected