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

Function run

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

Source from the content-addressed store, hash-verified

19 * @returns {Promise<import("execa").Result>} child process
20 */
21 const run = async (cwd, args = [], options = {}) =>
22 testUtilsPkg.run(cwd, args, {
23 ...options,
24 executorPath: CLI_PATH,
25 });
26
27 /**
28 * Run the webpack CLI in watch mode for a test case.

Calls 1

runMethod · 0.80

Tested by

no test coverage detected