MCPcopy Index your code
hub / github.com/ampproject/amphtml / serverTests

Function serverTests

build-system/tasks/server-tests.js:186–193  ·  view source on GitHub ↗

* Tests for AMP server custom transforms. Entry point for `amp server-tests`. * @return {Promise }

()

Source from the content-addressed store, hash-verified

184 * @return {Promise<void>}
185 */
186async function serverTests() {
187 await buildNewServer();
188 const inputFiles = await fastGlob(inputPaths);
189 for (const inputFile of inputFiles) {
190 await runTest(inputFile);
191 }
192 reportResult();
193}
194
195module.exports = {
196 serverTests,

Callers

nothing calls this directly

Calls 3

buildNewServerFunction · 0.85
reportResultFunction · 0.85
runTestFunction · 0.70

Tested by

no test coverage detected