MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / setAttr

Function setAttr

lib/plugin/junitReporter.js:301–303  ·  view source on GitHub ↗
(el, name, value)

Source from the content-addressed store, hash-verified

299}
300
301function setAttr(el, name, value) {
302 el.setAttribute(name, cleanText(value))
303}

Callers 2

buildXmlFunction · 0.85
buildTestCaseFunction · 0.85

Calls 1

cleanTextFunction · 0.85

Tested by

no test coverage detected