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

Function flattenFiles

lib/command/run-multiple/chunk.js:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 * Joins a list of files to a valid glob pattern
36 */
37const flattenFiles = list => {
38 const pattern = list.join(',')
39 return pattern.indexOf(',') > -1 ? `{${pattern}}` : pattern
40}
41
42/**
43 * Greps a file by its content, checks if Scenario or Feature text'

Callers 1

createChunksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected