MCPcopy Create free account
hub / github.com/angular/dev-infra / addImage

Method addImage

github-actions/browserstack/set-browserstack-env.js:19739–19744  ·  view source on GitHub ↗

* Adds an HTML image tag to the summary buffer * * @param {string} src path to the image you to embed * @param {string} alt text description of the image * @param {SummaryImageOptions} options (optional) addition image attributes * * @returns {Summary} summary instance

(src, alt, options)

Source from the content-addressed store, hash-verified

19737 module.exports.FormData = require_formdata().FormData;
19738 var _a;
19739 module.exports.File = (_a = globalThis.File) != null ? _a : __require("buffer").File;
19740 module.exports.FileReader = require_filereader().FileReader;
19741 var { setGlobalOrigin, getGlobalOrigin } = require_global();
19742 module.exports.setGlobalOrigin = setGlobalOrigin;
19743 module.exports.getGlobalOrigin = getGlobalOrigin;
19744 var { CacheStorage } = require_cachestorage();
19745 var { kConstruct } = require_symbols4();
19746 module.exports.caches = new CacheStorage(kConstruct);
19747 var { deleteCookie, getCookies, getSetCookies, setCookie } = require_cookies();

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.45
addEOLMethod · 0.45
addRawMethod · 0.45

Tested by

no test coverage detected