You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> Allows to set web socket server and options (by default 'ws').
729
+
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
730
+
Details:
731
+
* options.webSocketServer.type should be one of these:
732
+
\\"sockjs\\" | \\"ws\\" | non-empty string | function
733
+
Details:
734
+
* options.webSocketServer.type should be one of these:
735
+
\\"sockjs\\" | \\"ws\\"
736
+
* options.webSocketServer.type should be a non-empty string.
737
+
* options.webSocketServer.type should be an instance of function."
738
+
`;
739
+
724
740
exports[`options validate should throw an error on the "webSocketServer" option with '{"type":true}' value 1`] = `
725
741
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
726
742
- options.webSocketServer should be one of these:
@@ -729,10 +745,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
729
745
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
730
746
Details:
731
747
* options.webSocketServer.type should be one of these:
732
-
false | \\"sockjs\\" | \\"ws\\" | non-empty string | function
748
+
\\"sockjs\\" | \\"ws\\" | non-empty string | function
733
749
Details:
734
750
* options.webSocketServer.type should be one of these:
735
-
false | \\"sockjs\\" | \\"ws\\"
751
+
\\"sockjs\\" | \\"ws\\"
736
752
* options.webSocketServer.type should be a non-empty string.
737
753
* options.webSocketServer.type should be an instance of function."
738
754
`;
@@ -746,6 +762,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
746
762
Details:
747
763
* options.webSocketServer should be one of these:
748
764
false | \\"sockjs\\" | \\"ws\\"
765
+
Details:
766
+
* options.webSocketServer should be false.
767
+
* options.webSocketServer should be one of these:
768
+
\\"sockjs\\" | \\"ws\\"
749
769
* options.webSocketServer should be a non-empty string.
750
770
* options.webSocketServer should be an instance of function.
751
771
* options.webSocketServer should be an object:
@@ -761,6 +781,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
761
781
Details:
762
782
* options.webSocketServer should be one of these:
763
783
false | \\"sockjs\\" | \\"ws\\"
784
+
Details:
785
+
* options.webSocketServer should be false.
786
+
* options.webSocketServer should be one of these:
787
+
\\"sockjs\\" | \\"ws\\"
764
788
* options.webSocketServer should be a non-empty string.
765
789
* options.webSocketServer should be an instance of function.
-> Allows to set web socket server and options (by default 'ws').
729
+
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
730
+
Details:
731
+
* options.webSocketServer.type should be one of these:
732
+
\\"sockjs\\" | \\"ws\\" | non-empty string | function
733
+
Details:
734
+
* options.webSocketServer.type should be one of these:
735
+
\\"sockjs\\" | \\"ws\\"
736
+
* options.webSocketServer.type should be a non-empty string.
737
+
* options.webSocketServer.type should be an instance of function."
738
+
`;
739
+
724
740
exports[`options validate should throw an error on the "webSocketServer" option with '{"type":true}' value 1`] = `
725
741
"ValidationError: Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
726
742
- options.webSocketServer should be one of these:
@@ -729,10 +745,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
729
745
-> Read more at https://webpack.js.org/configuration/dev-server/#devserverwebsocketserver
730
746
Details:
731
747
* options.webSocketServer.type should be one of these:
732
-
false | \\"sockjs\\" | \\"ws\\" | non-empty string | function
748
+
\\"sockjs\\" | \\"ws\\" | non-empty string | function
733
749
Details:
734
750
* options.webSocketServer.type should be one of these:
735
-
false | \\"sockjs\\" | \\"ws\\"
751
+
\\"sockjs\\" | \\"ws\\"
736
752
* options.webSocketServer.type should be a non-empty string.
737
753
* options.webSocketServer.type should be an instance of function."
738
754
`;
@@ -746,6 +762,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
746
762
Details:
747
763
* options.webSocketServer should be one of these:
748
764
false | \\"sockjs\\" | \\"ws\\"
765
+
Details:
766
+
* options.webSocketServer should be false.
767
+
* options.webSocketServer should be one of these:
768
+
\\"sockjs\\" | \\"ws\\"
749
769
* options.webSocketServer should be a non-empty string.
750
770
* options.webSocketServer should be an instance of function.
751
771
* options.webSocketServer should be an object:
@@ -761,6 +781,10 @@ exports[`options validate should throw an error on the "webSocketServer" option
761
781
Details:
762
782
* options.webSocketServer should be one of these:
763
783
false | \\"sockjs\\" | \\"ws\\"
784
+
Details:
785
+
* options.webSocketServer should be false.
786
+
* options.webSocketServer should be one of these:
787
+
\\"sockjs\\" | \\"ws\\"
764
788
* options.webSocketServer should be a non-empty string.
765
789
* options.webSocketServer should be an instance of function.
0 commit comments