MCPcopy Create free account
hub / github.com/webpack/webpack-cli / collectTestFolders

Function collectTestFolders

scripts/utils.js:45–49  ·  view source on GitHub ↗

* @param {string} strategy strategy * @returns {string[]} folders

(strategy)

Source from the content-addressed store, hash-verified

43 * @returns {string[]} folders
44 */
45function collectTestFolders(strategy) {
46 const testFolder = path.resolve(path.join(process.cwd(), BASE_DIR));
47
48 return extractFolder(testFolder, [], strategy);
49}
50
51module.exports = collectTestFolders;

Callers 1

cleanupOutputDirsFunction · 0.85

Calls 1

extractFolderFunction · 0.85

Tested by

no test coverage detected