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

Function stripJsDoc

lib/command/list.js:52–58  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

50}
51
52function stripJsDoc(value) {
53 return value
54 .split('\n')
55 .map(line => line.replace(/^\s*\* ?/, ''))
56 .join('\n')
57 .trim()
58}
59
60function resolvePartials(text, partials) {
61 return text.replace(/\{\{>\s*([\w-]+)\s*\}\}/g, (match, name) => {

Callers 1

extractMethodDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected