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

Function createPassedFile

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

Source from the content-addressed store, hash-verified

164 }
165
166 function createPassedFile(name) {
167 const file = createFileStub(name);
168 file.ampValidationResult = {
169 status: 'PASS',
170 };
171 return file;
172 }
173
174 function createFileStub(name) {
175 return new File({

Callers 1

validate.jsFile · 0.85

Calls 1

createFileStubFunction · 0.85

Tested by

no test coverage detected