Skip to content

Commit d7cb671

Browse files
anshumanvalexander-akait
authored andcommitted
feat: allow username and password in clientURL
1 parent 6490762 commit d7cb671

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/__snapshots__/validate-options.test.js.snap.webpack4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ exports[`options validate should throw an error on the "client" option with '{"w
190190
-> 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).
191191
Details:
192192
* options.client.webSocketURL.username should be a string.
193-
-> Tells clients connected to devServer to use the provided username to connect.
193+
-> Tells clients connected to devServer to use the provided username to authenticate.
194194
* options.client.webSocketURL.password should be a string.
195-
-> Tells clients connected to devServer to use the provided password to connect."
195+
-> Tells clients connected to devServer to use the provided password to authenticate."
196196
`;
197197

198198
exports[`options validate should throw an error on the "client" option with 'whoops!' value 1`] = `

test/__snapshots__/validate-options.test.js.snap.webpack5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ exports[`options validate should throw an error on the "client" option with '{"w
190190
-> 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).
191191
Details:
192192
* options.client.webSocketURL.username should be a string.
193-
-> Tells clients connected to devServer to use the provided username to connect.
193+
-> Tells clients connected to devServer to use the provided username to authenticate.
194194
* options.client.webSocketURL.password should be a string.
195-
-> Tells clients connected to devServer to use the provided password to connect."
195+
-> Tells clients connected to devServer to use the provided password to authenticate."
196196
`;
197197

198198
exports[`options validate should throw an error on the "client" option with 'whoops!' value 1`] = `

0 commit comments

Comments
 (0)