Skip to content

Commit 5b4e85e

Browse files
committed
test: update snap
1 parent b9f3bab commit 5b4e85e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

test/cli/__snapshots__/cli.test.js.snap.webpack5

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Options:
230230
--no-compress Disable gzip compression.
231231
--firewall [value...] Defines routes which are enabled by default, on by default and allows localhost.
232232
--no-firewall Disable firewall.
233-
--firewall-reset Clear all items provided in firewall.
233+
--firewall-reset Clear all items provided in firewall configuration.
234234
--history-api-fallback When using the HTML5 History API, the index.html page will likely have to be served in place of any 404 responses.
235235
--no-history-api-fallback Negative 'history-api-fallback' option.
236236
--host <value> Specify a host to use. If you want your server to be accessible externally.
@@ -255,11 +255,11 @@ Options:
255255
--no-open-target Do not open specified route in browser.
256256
--open-app-name <value...> Open specified browser.
257257
--open-app <value> Open specified browser.
258-
--open-reset Clear all items provided in open.
259-
--open-target-reset Clear all items provided in open.target
260-
--open-app-name-reset Clear all items provided in open.app.name
258+
--open-reset Clear all items provided in open configuration.
259+
--open-target-reset Clear all items provided in open.target configuration.
260+
--open-app-name-reset Clear all items provided in open.app.name configuration.
261261
--port <value> Specify a port number to listen for requests on.
262-
--public <value> When using dev server and you're proxying dev-server, the client script does not always know where to connect to. It will try to guess the URL of the server based on window.location, but if that fails you'll need to use this.
262+
--public <value> The public hostname/ip address of the server that client script will try to connect to.
263263
--static [value...] It is possible to configure advanced options for serving static files from directory. See the Express documentation for the possible options.
264264
--no-static Negative 'static' option.
265265
--static-directory <value> Directory for static contents.
@@ -268,12 +268,12 @@ Options:
268268
--no-static-serve-index Do not tell dev-server to use serveIndex middleware.
269269
--static-watch Watch for files in static content directory.
270270
--no-static-watch Do not watch for files in static content directory.
271-
--static-reset Clear all items provided in static.
272-
--static-public-path-reset Clear all items provided in static.publicPath
271+
--static-reset Clear all items provided in static configuration.
272+
--static-public-path-reset Clear all items provided in static.publicPath configuration.
273273
--watch-files <value...> List of files to watch for file changes and serve.
274274
--watch-files-paths <value...> List of files to watch for file changes and serve.
275-
--watch-files-reset Clear all items provided in watchFiles.
276-
--watch-files-paths-reset Clear all items provided in watchFiles.paths
275+
--watch-files-reset Clear all items provided in watchFiles configuration.
276+
--watch-files-paths-reset Clear all items provided in watchFiles.paths configuration.
277277

278278
Global options:
279279
--color Enable colors on console.

test/helpers/test-bin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const basicConfigPath = path.resolve(
1717
function testBin(testArgs, configPath) {
1818
const cwd = process.cwd();
1919
const env = {
20-
WEBPACK_CLI_HELP_WIDTH: 5000,
20+
WEBPACK_CLI_HELP_WIDTH: 1024,
2121
NODE_ENV: process.env.NODE_ENV,
2222
};
2323

0 commit comments

Comments
 (0)