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

Function run

test/utils/test-utils.js:66–69  ·  view source on GitHub ↗
(cwd, args = [], options = {})

Source from the content-addressed store, hash-verified

64 * @returns {Promise<import("execa").Result>} child process
65 */
66const run = async (cwd, args = [], options = {}) => {
67 const execa = await import("execa");
68 return createProcess(execa, cwd, args, options);
69};
70
71/**
72 * Run the webpack CLI in watch mode for a test case.

Callers 10

plugin.test.jsFile · 0.50
output.test.jsFile · 0.50
basic.test.jsFile · 0.50
basic.test.jsFile · 0.50
output.test.jsFile · 0.50
basic.test.jsFile · 0.50
help.test.jsFile · 0.50

Calls 1

createProcessFunction · 0.85

Tested by

no test coverage detected