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.webpack5
+12-4
Original file line number
Diff line number
Diff line change
@@ -262,15 +262,23 @@ exports[`allowed hosts should connect web socket client using localhost to web s
262
262
263
263
exports[`allowed hosts should connect web socket client using localhost to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`;
264
264
265
-
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = `[]`;
265
+
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): console messages 1`] = `
266
+
[
267
+
"Failed to load resource: the server responded with a status of 403 (Forbidden)",
268
+
]
269
+
`;
266
270
267
-
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): html 1`] = `"<html><head></head><body>Invalid Host header</body></html>"`;
271
+
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): html 1`] = `"<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Invalid Host header</pre></body></html>"`;
268
272
269
273
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("sockjs"): page errors 1`] = `[]`;
270
274
271
-
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = `[]`;
275
+
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): console messages 1`] = `
276
+
[
277
+
"Failed to load resource: the server responded with a status of 403 (Forbidden)",
278
+
]
279
+
`;
272
280
273
-
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): html 1`] = `"<html><head></head><body>Invalid Host header</body></html>"`;
281
+
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): html 1`] = `"<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Invalid Host header</pre></body></html>"`;
274
282
275
283
exports[`allowed hosts should disconnect web client using localhost to web socket server with the "auto" value ("ws"): page errors 1`] = `[]`;
exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): console messages 1`] = `
4
+
[
5
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
6
+
"[HMR] Waiting for update signal from WDS...",
7
+
"Hey.",
8
+
]
9
+
`;
10
+
11
+
exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`;
12
+
13
+
exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): response status 1`] = `200`;
14
+
15
+
exports[`app option should work using "connect (async)" application and "http" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "connect (async)" application and "https" server should handle GET request to index route (/): console messages 1`] = `
32
+
[
33
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
34
+
"[HMR] Waiting for update signal from WDS...",
35
+
"Hey.",
36
+
]
37
+
`;
38
+
39
+
exports[`app option should work using "connect (async)" application and "https" server should handle GET request to index route (/): page errors 1`] = `[]`;
40
+
41
+
exports[`app option should work using "connect (async)" application and "https" server should handle GET request to index route (/): response status 1`] = `200`;
42
+
43
+
exports[`app option should work using "connect (async)" application and "https" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "connect (async)" application and "spdy" server should handle GET request to index route (/): console messages 1`] = `
60
+
[
61
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
62
+
"[HMR] Waiting for update signal from WDS...",
63
+
"Hey.",
64
+
]
65
+
`;
66
+
67
+
exports[`app option should work using "connect (async)" application and "spdy" server should handle GET request to index route (/): page errors 1`] = `[]`;
68
+
69
+
exports[`app option should work using "connect (async)" application and "spdy" server should handle GET request to index route (/): response status 1`] = `200`;
70
+
71
+
exports[`app option should work using "connect (async)" application and "spdy" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): console messages 1`] = `
88
+
[
89
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
90
+
"[HMR] Waiting for update signal from WDS...",
91
+
"Hey.",
92
+
]
93
+
`;
94
+
95
+
exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`;
96
+
97
+
exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): response status 1`] = `200`;
98
+
99
+
exports[`app option should work using "connect" application and "http" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): console messages 1`] = `
116
+
[
117
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
118
+
"[HMR] Waiting for update signal from WDS...",
119
+
"Hey.",
120
+
]
121
+
`;
122
+
123
+
exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): page errors 1`] = `[]`;
124
+
125
+
exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): response status 1`] = `200`;
126
+
127
+
exports[`app option should work using "connect" application and "https" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): console messages 1`] = `
144
+
[
145
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
146
+
"[HMR] Waiting for update signal from WDS...",
147
+
"Hey.",
148
+
]
149
+
`;
150
+
151
+
exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): page errors 1`] = `[]`;
152
+
153
+
exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): response status 1`] = `200`;
154
+
155
+
exports[`app option should work using "connect" application and "spdy" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): console messages 1`] = `
172
+
[
173
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
174
+
"[HMR] Waiting for update signal from WDS...",
175
+
"Hey.",
176
+
]
177
+
`;
178
+
179
+
exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): page errors 1`] = `[]`;
180
+
181
+
exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): response status 1`] = `200`;
182
+
183
+
exports[`app option should work using "express" application and "http" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): console messages 1`] = `
200
+
[
201
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
202
+
"[HMR] Waiting for update signal from WDS...",
203
+
"Hey.",
204
+
]
205
+
`;
206
+
207
+
exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): page errors 1`] = `[]`;
208
+
209
+
exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): response status 1`] = `200`;
210
+
211
+
exports[`app option should work using "express" application and "https" server should handle GET request to index route (/): response text 1`] = `
exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): console messages 1`] = `
228
+
[
229
+
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
230
+
"[HMR] Waiting for update signal from WDS...",
231
+
"Hey.",
232
+
]
233
+
`;
234
+
235
+
exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): page errors 1`] = `[]`;
236
+
237
+
exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): response status 1`] = `200`;
238
+
239
+
exports[`app option should work using "express" application and "spdy" server should handle GET request to index route (/): response text 1`] = `
Copy file name to clipboardexpand all lines: test/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5
+5-5
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ exports[`Built in routes with multi config should handle GET request to director
16
16
17
17
exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`;
18
18
19
-
exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html"`;
19
+
exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html; charset=utf-8"`;
20
20
21
21
exports[`Built in routes with multi config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`;
22
22
@@ -34,7 +34,7 @@ exports[`Built in routes with simple config should handle GET request to directo
34
34
35
35
exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: page errors 1`] = `[]`;
36
36
37
-
exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html"`;
37
+
exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response headers content-type 1`] = `"text/html; charset=utf-8"`;
38
38
39
39
exports[`Built in routes with simple config should handle GET request to directory index and list all middleware directories: response status 1`] = `200`;
40
40
@@ -56,7 +56,7 @@ exports[`Built in routes with simple config should handle HEAD request to direct
56
56
57
57
exports[`Built in routes with simple config should handle HEAD request to directory index: page errors 1`] = `[]`;
58
58
59
-
exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `"text/html"`;
59
+
exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `"text/html; charset=utf-8"`;
60
60
61
61
exports[`Built in routes with simple config should handle HEAD request to directory index: response status 1`] = `200`;
62
62
@@ -70,14 +70,14 @@ exports[`Built in routes with simple config should handles GET request to sockjs
70
70
71
71
exports[`Built in routes with simple config should handles GET request to sockjs bundle: page errors 1`] = `[]`;
72
72
73
-
exports[`Built in routes with simple config should handles GET request to sockjs bundle: response headers content-type 1`] = `"application/javascript"`;
73
+
exports[`Built in routes with simple config should handles GET request to sockjs bundle: response headers content-type 1`] = `"application/javascript; charset=UTF-8"`;
74
74
75
75
exports[`Built in routes with simple config should handles GET request to sockjs bundle: response status 1`] = `200`;
76
76
77
77
exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: console messages 1`] = `[]`;
78
78
79
79
exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: page errors 1`] = `[]`;
80
80
81
-
exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response headers content-type 1`] = `"application/javascript"`;
81
+
exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response headers content-type 1`] = `"application/javascript; charset=UTF-8"`;
82
82
83
83
exports[`Built in routes with simple config should handles HEAD request to sockjs bundle: response status 1`] = `200`;
0 commit comments