Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ normalizeSpacesInString
Function
normalizeSpacesInString
lib/utils.js:538–540 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
536
}
537
538
export
const
normalizeSpacesInString = string => {
539
return
string.replace(/\s+/g,
' '
)
540
}
541
542
export
const
humanizeFunction =
function
(fn) {
543
const
fnStr = fn.toString().trim()
Callers
2
proceedSee
Function · 0.90
proceedSee
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected