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

Function clearString

test/unit/mcpServer_test.js:31–33  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

29}
30
31function clearString(str) {
32 return str.replace(/[^a-zA-Z0-9]/g, '_')
33}
34
35function getTraceDir(testTitle, testFile) {
36 const hash = createHash('sha256').update(testFile + testTitle).digest('hex').slice(0, 8)

Callers 2

getTraceDirFunction · 0.70
mcpServer_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected