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

Function noCommand

smoketests/missing-packages/webpack.test.js:7–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const { runTest, runTestStdout } = require("../helpers");
6
7const noCommand = () => {
8 const packageName = "webpack";
9 const args = [];
10 const logMessage = "For using 'build' command you need to install: 'webpack' package.";
11
12 return runTest(packageName, args, logMessage);
13};
14
15const buildCommand = () => {
16 const packageName = "webpack";

Callers

nothing calls this directly

Calls 1

runTestFunction · 0.85

Tested by

no test coverage detected