Skip to content

Commit b279387

Browse files
committed
feat: allow username and password in clientURL
1 parent 9c3df69 commit b279387

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
@@ -180,9 +180,9 @@ exports[`options validate should throw an error on the "client" option with '{"w
180180
-> 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).
181181
Details:
182182
* options.client.webSocketURL.username should be a string.
183-
-> Tells clients connected to devServer to use the provided username to connect.
183+
-> Tells clients connected to devServer to use the provided username to authenticate.
184184
* options.client.webSocketURL.password should be a string.
185-
-> Tells clients connected to devServer to use the provided password to connect."
185+
-> Tells clients connected to devServer to use the provided password to authenticate."
186186
`;
187187

188188
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
@@ -180,9 +180,9 @@ exports[`options validate should throw an error on the "client" option with '{"w
180180
-> 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).
181181
Details:
182182
* options.client.webSocketURL.username should be a string.
183-
-> Tells clients connected to devServer to use the provided username to connect.
183+
-> Tells clients connected to devServer to use the provided username to authenticate.
184184
* options.client.webSocketURL.password should be a string.
185-
-> Tells clients connected to devServer to use the provided password to connect."
185+
-> Tells clients connected to devServer to use the provided password to authenticate."
186186
`;
187187

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

0 commit comments

Comments
 (0)