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

Function getDefaultResponsePromise

test/unit/test-xhr.js:633–635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

631 }
632
633 function getDefaultResponsePromise() {
634 return Promise.resolve({init: getDefaultResponseOptions()});
635 }
636
637 beforeEach(() => {
638 optedInDoc = window.document.implementation.createHTMLDocument('');

Callers 1

test-xhr.jsFile · 0.70

Calls 2

resolveMethod · 0.80

Tested by

no test coverage detected