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
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack4
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ exports[`allowed hosts check host headers should always allow value of the \`hos
38
38
39
39
exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
40
40
Array [
41
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
41
42
"[HMR] Waiting for update signal from WDS...",
42
43
"Hey.",
43
44
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -49,6 +50,7 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web
49
50
50
51
exports[`allowed hosts should connect web socket client using "[::1] host to web socket server with the "auto" value ("ws"): console messages 1`] = `
51
52
Array [
53
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
52
54
"[HMR] Waiting for update signal from WDS...",
53
55
"Hey.",
54
56
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -60,6 +62,7 @@ exports[`allowed hosts should connect web socket client using "[::1] host to web
60
62
61
63
exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
62
64
Array [
65
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
63
66
"[HMR] Waiting for update signal from WDS...",
64
67
"Hey.",
65
68
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -71,6 +74,7 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t
71
74
72
75
exports[`allowed hosts should connect web socket client using "127.0.0.1" host to web socket server with the "auto" value ("ws"): console messages 1`] = `
73
76
Array [
77
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
74
78
"[HMR] Waiting for update signal from WDS...",
75
79
"Hey.",
76
80
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -82,6 +86,7 @@ exports[`allowed hosts should connect web socket client using "127.0.0.1" host t
82
86
83
87
exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
84
88
Array [
89
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
85
90
"[HMR] Waiting for update signal from WDS...",
86
91
"Hey.",
87
92
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -93,6 +98,7 @@ exports[`allowed hosts should connect web socket client using "chrome-extension:
93
98
94
99
exports[`allowed hosts should connect web socket client using "chrome-extension:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = `
95
100
Array [
101
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
96
102
"[HMR] Waiting for update signal from WDS...",
97
103
"Hey.",
98
104
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -104,6 +110,7 @@ exports[`allowed hosts should connect web socket client using "chrome-extension:
104
110
105
111
exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
106
112
Array [
113
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
107
114
"[HMR] Waiting for update signal from WDS...",
108
115
"Hey.",
109
116
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -115,6 +122,7 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t
115
122
116
123
exports[`allowed hosts should connect web socket client using "file:" protocol to web socket server with the "auto" value ("ws"): console messages 1`] = `
117
124
Array [
125
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
118
126
"[HMR] Waiting for update signal from WDS...",
119
127
"Hey.",
120
128
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -126,6 +134,7 @@ exports[`allowed hosts should connect web socket client using "file:" protocol t
126
134
127
135
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("sockjs"): console messages 1`] = `
128
136
Array [
137
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
129
138
"[HMR] Waiting for update signal from WDS...",
130
139
"Hey.",
131
140
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -137,6 +146,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
137
146
138
147
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value ("ws"): console messages 1`] = `
139
148
Array [
149
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
140
150
"[HMR] Waiting for update signal from WDS...",
141
151
"Hey.",
142
152
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -148,6 +158,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
148
158
149
159
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("sockjs"): console messages 1`] = `
150
160
Array [
161
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
151
162
"[HMR] Waiting for update signal from WDS...",
152
163
"Hey.",
153
164
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -159,6 +170,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
159
170
160
171
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the "all" value in array ("ws"): console messages 1`] = `
161
172
Array [
173
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
162
174
"[HMR] Waiting for update signal from WDS...",
163
175
"Hey.",
164
176
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -170,6 +182,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
170
182
171
183
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = `
172
184
Array [
185
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
173
186
"[HMR] Waiting for update signal from WDS...",
174
187
"Hey.",
175
188
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -181,6 +194,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
181
194
182
195
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = `
183
196
Array [
197
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
184
198
"[HMR] Waiting for update signal from WDS...",
185
199
"Hey.",
186
200
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -192,6 +206,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
192
206
193
207
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("sockjs"): console messages 1`] = `
194
208
Array [
209
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
195
210
"[HMR] Waiting for update signal from WDS...",
196
211
"Hey.",
197
212
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -203,6 +218,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
203
218
204
219
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the custom hostname value starting with dot ("ws"): console messages 1`] = `
205
220
Array [
221
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
206
222
"[HMR] Waiting for update signal from WDS...",
207
223
"Hey.",
208
224
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -214,6 +230,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
214
230
215
231
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("sockjs"): console messages 1`] = `
216
232
Array [
233
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
217
234
"[HMR] Waiting for update signal from WDS...",
218
235
"Hey.",
219
236
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -225,6 +242,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
225
242
226
243
exports[`allowed hosts should connect web socket client using custom hostname to web socket server with the multiple custom hostname values ("ws"): console messages 1`] = `
227
244
Array [
245
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
228
246
"[HMR] Waiting for update signal from WDS...",
229
247
"Hey.",
230
248
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -236,6 +254,7 @@ exports[`allowed hosts should connect web socket client using custom hostname to
236
254
237
255
exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("sockjs"): console messages 1`] = `
238
256
Array [
257
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
239
258
"[HMR] Waiting for update signal from WDS...",
240
259
"Hey.",
241
260
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -247,6 +266,7 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam
247
266
248
267
exports[`allowed hosts should connect web socket client using custom sub hostname to web socket server with the custom hostname value ("ws"): console messages 1`] = `
249
268
Array [
269
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
250
270
"[HMR] Waiting for update signal from WDS...",
251
271
"Hey.",
252
272
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -258,6 +278,7 @@ exports[`allowed hosts should connect web socket client using custom sub hostnam
258
278
259
279
exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
260
280
Array [
281
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
261
282
"[HMR] Waiting for update signal from WDS...",
262
283
"Hey.",
263
284
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -269,6 +290,7 @@ exports[`allowed hosts should connect web socket client using localhost to web s
269
290
270
291
exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = `
271
292
Array [
293
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
272
294
"[HMR] Waiting for update signal from WDS...",
273
295
"Hey.",
274
296
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -292,6 +314,7 @@ exports[`allowed hosts should disconnect web client using localhost to web socke
292
314
293
315
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("sockjs"): console messages 1`] = `
294
316
Array [
317
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
@@ -304,6 +327,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname
304
327
305
328
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header ("ws"): console messages 1`] = `
306
329
Array [
330
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
@@ -316,6 +340,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname
316
340
317
341
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("sockjs"): console messages 1`] = `
318
342
Array [
343
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
@@ -328,6 +353,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname
328
353
329
354
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "host" header when "server: 'https'" is enabled ("ws"): console messages 1`] = `
330
355
Array [
356
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
@@ -340,6 +366,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname
340
366
341
367
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("sockjs"): console messages 1`] = `
342
368
Array [
369
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
@@ -352,6 +379,7 @@ exports[`allowed hosts should disconnect web socket client using custom hostname
352
379
353
380
exports[`allowed hosts should disconnect web socket client using custom hostname from web socket server with the "auto" value based on the "origin" header ("ws"): console messages 1`] = `
354
381
Array [
382
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
0 commit comments