Skip to content

Commit 8b3dd34

Browse files
committed
fixup!
1 parent 3ada1ca commit 8b3dd34

10 files changed

Lines changed: 322 additions & 322 deletions

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

Lines changed: 116 additions & 116 deletions
Large diffs are not rendered by default.

test/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ exports[`allowed hosts > should disconnect web client using localhost to web soc
268268
]
269269
`;
270270

271-
exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") 1`] = `
271+
exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") 2`] = `
272272
"<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>"
273273
`;
274274

275-
exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") 2`] = `
275+
exports[`allowed hosts > should disconnect web client using localhost to web socket server with the "auto" value ("ws") 3`] = `
276276
[]
277277
`;
278278

test/e2e/__snapshots__/api.test.js.snap.webpack5

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,27 +154,27 @@ exports[`API > WEBPACK_SERVE environment variable > should be present 3`] = `
154154
[]
155155
`;
156156

157-
exports[`API > latest async API > should work and allow to rerun dev server multiple times 3`] = `
157+
exports[`API > latest async API > should work and allow to rerun dev server multiple times 1`] = `
158158
[
159159
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
160160
"[HMR] Waiting for update signal from WDS...",
161161
"Hey.",
162162
]
163163
`;
164164

165-
exports[`API > latest async API > should work and allow to rerun dev server multiple times 4`] = `
165+
exports[`API > latest async API > should work and allow to rerun dev server multiple times 2`] = `
166166
[]
167167
`;
168168

169-
exports[`API > latest async API > should work and allow to rerun dev server multiple times > console messages 2`] = `
169+
exports[`API > latest async API > should work and allow to rerun dev server multiple times 3`] = `
170170
[
171171
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
172172
"[HMR] Waiting for update signal from WDS...",
173173
"Hey.",
174174
]
175175
`;
176176

177-
exports[`API > latest async API > should work and allow to rerun dev server multiple times > page errors 2`] = `
177+
exports[`API > latest async API > should work and allow to rerun dev server multiple times 4`] = `
178178
[]
179179
`;
180180

test/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ exports[`multi compiler > should work with universal configuration when only hot
6666
[]
6767
`;
6868

69-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 3`] = `
69+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 1`] = `
7070
[
7171
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
7272
"Hello from the browser",
@@ -77,11 +77,11 @@ exports[`multi compiler > should work with universal configuration when only liv
7777
]
7878
`;
7979

80-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 4`] = `
80+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 2`] = `
8181
[]
8282
`;
8383

84-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > console messages 2`] = `
84+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 3`] = `
8585
[
8686
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
8787
"Hello from the browser",
@@ -92,11 +92,11 @@ exports[`multi compiler > should work with universal configuration when only liv
9292
]
9393
`;
9494

95-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries > page errors 2`] = `
95+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing browser and server entries 4`] = `
9696
[]
9797
`;
9898

99-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 3`] = `
99+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 1`] = `
100100
[
101101
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
102102
"Hello from the browser",
@@ -107,11 +107,11 @@ exports[`multi compiler > should work with universal configuration when only liv
107107
]
108108
`;
109109

110-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 4`] = `
110+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 2`] = `
111111
[]
112112
`;
113113

114-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > console messages 2`] = `
114+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 3`] = `
115115
[
116116
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
117117
"Hello from the browser",
@@ -122,35 +122,35 @@ exports[`multi compiler > should work with universal configuration when only liv
122122
]
123123
`;
124124

125-
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries > page errors 2`] = `
125+
exports[`multi compiler > should work with universal configuration when only live reload is enabled, and do live reload for browser compiler when changing server and browser entries 4`] = `
126126
[]
127127
`;
128128

129-
exports[`multi compiler > should work with web target configurations and do nothing 3`] = `
129+
exports[`multi compiler > should work with web target configurations and do nothing 1`] = `
130130
[
131131
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
132132
"[HMR] Waiting for update signal from WDS...",
133133
"one",
134134
]
135135
`;
136136

137-
exports[`multi compiler > should work with web target configurations and do nothing 4`] = `
137+
exports[`multi compiler > should work with web target configurations and do nothing 2`] = `
138138
[]
139139
`;
140140

141-
exports[`multi compiler > should work with web target configurations and do nothing > console messages 2`] = `
141+
exports[`multi compiler > should work with web target configurations and do nothing 3`] = `
142142
[
143143
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
144144
"[HMR] Waiting for update signal from WDS...",
145145
"two",
146146
]
147147
`;
148148

149-
exports[`multi compiler > should work with web target configurations and do nothing > page errors 2`] = `
149+
exports[`multi compiler > should work with web target configurations and do nothing 4`] = `
150150
[]
151151
`;
152152

153-
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 3`] = `
153+
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 1`] = `
154154
[
155155
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
156156
"[HMR] Waiting for update signal from WDS...",
@@ -168,11 +168,11 @@ Update propagation: ./one.js
168168
]
169169
`;
170170

171-
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 4`] = `
171+
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 2`] = `
172172
[]
173173
`;
174174

175-
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > console messages 2`] = `
175+
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 3`] = `
176176
[
177177
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
178178
"[HMR] Waiting for update signal from WDS...",
@@ -190,11 +190,11 @@ Update propagation: ./two.js
190190
]
191191
`;
192192

193-
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries > page errors 2`] = `
193+
exports[`multi compiler > should work with web target configurations when hot and live reloads are enabled, and do hot reload by default when changing own entries 4`] = `
194194
[]
195195
`;
196196

197-
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 3`] = `
197+
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 1`] = `
198198
[
199199
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
200200
"[HMR] Waiting for update signal from WDS...",
@@ -212,11 +212,11 @@ Update propagation: ./one.js
212212
]
213213
`;
214214

215-
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 4`] = `
215+
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 2`] = `
216216
[]
217217
`;
218218

219-
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > console messages 2`] = `
219+
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 3`] = `
220220
[
221221
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading disabled, Progress disabled, Overlay enabled.",
222222
"[HMR] Waiting for update signal from WDS...",
@@ -234,11 +234,11 @@ Update propagation: ./two.js
234234
]
235235
`;
236236

237-
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries > page errors 2`] = `
237+
exports[`multi compiler > should work with web target configurations when only hot reload is enabled, and do hot reload when changing own entries 4`] = `
238238
[]
239239
`;
240240

241-
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 3`] = `
241+
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 1`] = `
242242
[
243243
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
244244
"one",
@@ -249,11 +249,11 @@ exports[`multi compiler > should work with web target configurations when only l
249249
]
250250
`;
251251

252-
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 4`] = `
252+
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 2`] = `
253253
[]
254254
`;
255255

256-
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > console messages 2`] = `
256+
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 3`] = `
257257
[
258258
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
259259
"two",
@@ -264,11 +264,11 @@ exports[`multi compiler > should work with web target configurations when only l
264264
]
265265
`;
266266

267-
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries > page errors 2`] = `
267+
exports[`multi compiler > should work with web target configurations when only live reload is enabled and do live reload when changing other entries 4`] = `
268268
[]
269269
`;
270270

271-
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 3`] = `
271+
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 1`] = `
272272
[
273273
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
274274
"one",
@@ -279,11 +279,11 @@ exports[`multi compiler > should work with web target configurations when only l
279279
]
280280
`;
281281

282-
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 4`] = `
282+
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 2`] = `
283283
[]
284284
`;
285285

286-
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > console messages 2`] = `
286+
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 3`] = `
287287
[
288288
"[webpack-dev-server] Server started: Hot Module Replacement disabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
289289
"two",
@@ -294,6 +294,6 @@ exports[`multi compiler > should work with web target configurations when only l
294294
]
295295
`;
296296

297-
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries > page errors 2`] = `
297+
exports[`multi compiler > should work with web target configurations when only live reload is enabled, and do live reload when changing own entries 4`] = `
298298
[]
299299
`;

test/e2e/__snapshots__/overlay.test.js.snap.webpack5

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ exports[`overlay > should not show initially, then show on an error, then show o
311311
"
312312
`;
313313

314-
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 4`] = `
314+
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 3`] = `
315315
"<body>
316316
<h1>webpack-dev-server is running...</h1>
317317
<script type="text/javascript" charset="utf-8" src="/main.js"></script>
@@ -332,7 +332,7 @@ exports[`overlay > should not show initially, then show on an error, then show o
332332
"
333333
`;
334334

335-
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 5`] = `
335+
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 4`] = `
336336
"<body>
337337
<div
338338
id="webpack-dev-server-client-overlay-div"
@@ -421,15 +421,15 @@ exports[`overlay > should not show initially, then show on an error, then show o
421421
"
422422
`;
423423

424-
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 6`] = `
424+
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 5`] = `
425425
"<body>
426426
<h1>webpack-dev-server is running...</h1>
427427
<script type="text/javascript" charset="utf-8" src="/main.js"></script>
428428
</body>
429429
"
430430
`;
431431

432-
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix > overlay html 2`] = `
432+
exports[`overlay > should not show initially, then show on an error, then show other error, then hide on fix 6`] = `
433433
"<body>
434434
<div
435435
id="webpack-dev-server-client-overlay-div"
@@ -976,7 +976,7 @@ exports[`overlay > should show a warning and error for initial compilation and p
976976
"
977977
`;
978978

979-
exports[`overlay > should show a warning and hide them after closing connection 2`] = `
979+
exports[`overlay > should show a warning and hide them after closing connection 1`] = `
980980
"<body>
981981
<div
982982
id="webpack-dev-server-client-overlay-div"
@@ -1060,7 +1060,7 @@ exports[`overlay > should show a warning and hide them after closing connection
10601060
"
10611061
`;
10621062

1063-
exports[`overlay > should show a warning and hide them after closing connection 3`] = `
1063+
exports[`overlay > should show a warning and hide them after closing connection 2`] = `
10641064
"<body>
10651065
<h1>webpack-dev-server is running...</h1>
10661066
<script type="text/javascript" charset="utf-8" src="/main.js"></script>
@@ -1081,7 +1081,7 @@ exports[`overlay > should show a warning and hide them after closing connection
10811081
"
10821082
`;
10831083

1084-
exports[`overlay > should show a warning and hide them after closing connection > page html 2`] = `
1084+
exports[`overlay > should show a warning and hide them after closing connection 3`] = `
10851085
"<body>
10861086
<h1>webpack-dev-server is running...</h1>
10871087
<script type="text/javascript" charset="utf-8" src="/main.js"></script>

test/e2e/__snapshots__/port.test.js.snap.webpack5

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ exports[`port > should work using "8159" port 1`] = `
1818
]
1919
`;
2020

21-
exports[`port > should work using "8159" port 1`] = `
21+
exports[`port > should work using "8159" port 2`] = `
22+
[]
23+
`;
24+
25+
exports[`port > should work using "8159" port 3`] = `
2226
[
2327
"[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.",
2428
"[HMR] Waiting for update signal from WDS...",
2529
"Hey.",
2630
]
2731
`;
2832

29-
exports[`port > should work using "8159" port 2`] = `
30-
[]
31-
`;
32-
33-
exports[`port > should work using "8159" port 2`] = `
33+
exports[`port > should work using "8159" port 4`] = `
3434
[]
3535
`;
3636

0 commit comments

Comments
 (0)