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

Method constructor

testing/describes.js:469–478  ·  view source on GitHub ↗

@param {!{body: string}} spec

(spec)

Source from the content-addressed store, hash-verified

467class IntegrationFixture {
468 /** @param {!{body: string}} spec */
469 constructor(spec) {
470 /** @const */
471 this.spec = spec;
472 if (this.spec.timeout === undefined) {
473 this.spec.timeout = 15000;
474 }
475 /** @const {string} */
476 this.hash = spec.hash || '';
477 delete spec.hash;
478 }
479
480 /** @override */
481 isOn() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected