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

Function findFiles

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

Source from the content-addressed store, hash-verified

22 * Executes a glob pattern and pushes the results to a list.
23 */
24const findFiles = pattern => {
25 const files = []
26
27 globSync(pattern).forEach(file => {
28 files.push(path.resolve(file))
29 })
30
31 return files
32}
33
34/**
35 * Joins a list of files to a valid glob pattern

Callers 1

createChunksFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected