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

Function createFileWithValidatorFailure

validator/js/gulpjs/test/validate.js:158–164  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

156 }
157
158 function createFileWithValidatorFailure(name) {
159 const file = createFileStub(name);
160 file.ampValidationResult = {
161 status: 'UNKNOWN',
162 };
163 return file;
164 }
165
166 function createPassedFile(name) {
167 const file = createFileStub(name);

Callers 1

validate.jsFile · 0.85

Calls 1

createFileStubFunction · 0.85

Tested by

no test coverage detected