MCPcopy 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
538export const normalizeSpacesInString = string => {
539 return string.replace(/\s+/g, ' ')
540}
541
542export const humanizeFunction = function (fn) {
543 const fnStr = fn.toString().trim()

Callers 2

proceedSeeFunction · 0.90
proceedSeeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected