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

Function runPromptWithAnswers

test/create-webpack-app/test.utils.js:48–52  ·  view source on GitHub ↗
(cwd, args, answers = [], options = {})

Source from the content-addressed store, hash-verified

46 * @returns {Promise<{ stdout: string, stderr: string }>} result
47 */
48 const runPromptWithAnswers = async (cwd, args, answers = [], options = {}) =>
49 testUtilsPkg.runPromptWithAnswers(cwd, args, answers, {
50 ...options,
51 executorPath: CLI_PATH,
52 });
53
54 return { run, runWatch, runPromptWithAnswers };
55}

Callers 3

init.test.jsFile · 0.50
plugin.test.jsFile · 0.50
loader.test.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected