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

Function configure

build-system/tasks/e2e/describes-e2e.js:68–74  ·  view source on GitHub ↗

* Configure all tests. This may only be called once, since it is only read once * and writes after reading will not have any effect. * @param {!DescribesConfigDef} config

(config)

Source from the content-addressed store, hash-verified

66 * @param {!DescribesConfigDef} config
67 */
68function configure(config) {
69 if (describesConfig) {
70 throw new Error('describes.configure should only be called once');
71 }
72
73 describesConfig = {...config};
74}
75
76/**
77 * Retrieve the describes config if set.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected