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

Function cleanText

lib/plugin/junitReporter.js:297–299  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

295}
296
297function cleanText(text) {
298 return String(text == null ? '' : text).replace(INVALID_XML_CHARS, '')
299}
300
301function setAttr(el, name, value) {
302 el.setAttribute(name, cleanText(value))

Callers 2

buildTestCaseFunction · 0.85
setAttrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected