Skip to content

Commit ceec371

Browse files
committed
fix: cli test
1 parent eb16265 commit ceec371

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bin/cli-flags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ module.exports = {
206206
type: 'string',
207207
multiple: false,
208208
description:
209-
'Tells clients connected to devServer to use the provided host.',
210-
path: 'client.webSocketURL.host',
209+
'Tells clients connected to devServer to use the provided hostname.',
210+
path: 'client.webSocketURL.hostname',
211211
},
212212
],
213213
description:

test/cli/__snapshots__/cli.test.js.snap.webpack4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Options:
6969
--client-hot-entry Injects a Hot Module Replacement entry.
7070
--no-client-hot-entry Does not injects a Hot Module Replacement entry.
7171
--client-web-socket-url <value> Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).
72-
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided host.
72+
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
7373
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
7474
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
7575
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Options:
7070
--no-client-progress Negative 'client-progress' option.
7171
--client-transport <value> Allows to set custom transport to communicate with dev server.
7272
--client-web-socket-url <value> Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to).
73-
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided host.
73+
--client-web-socket-url-hostname <value> Tells clients connected to devServer to use the provided hostname.
7474
--client-web-socket-url-path <value> Tells clients connected to devServer to use the provided path to connect.
7575
--client-web-socket-url-port <value> Tells clients connected to devServer to use the provided port.
7676
--client-web-socket-url-protocol <value> Tells clients connected to devServer to use the provided protocol.

0 commit comments

Comments
 (0)