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__/multi-compiler.test.js.snap.webpack4
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
exports[`multi compiler should work with one web target configuration and do nothing: console messages 1`] = `
4
4
Array [
5
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
5
6
"[HMR] Waiting for update signal from WDS...",
6
7
"Hey.",
7
8
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -13,6 +14,7 @@ exports[`multi compiler should work with one web target configuration and do not
13
14
14
15
exports[`multi compiler should work with universal configuration and do nothing: console messages 1`] = `
15
16
Array [
17
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
16
18
"[HMR] Waiting for update signal from WDS...",
17
19
"Hello from the browser",
18
20
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -24,6 +26,7 @@ exports[`multi compiler should work with universal configuration and do nothing:
24
26
25
27
exports[`multi compiler should work with universal configuration when hot and live reloads are enabled, and do hot reload for browser compiler by default when browser entry changed: console messages 1`] = `
26
28
Array [
29
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
27
30
"[HMR] Waiting for update signal from WDS...",
28
31
"Hello from the browser",
29
32
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -35,6 +38,7 @@ Array [
35
38
"[HMR] Error: Aborted because ./browser.js is not accepted
36
39
Update propagation: ./browser.js -> 0
37
40
<stack>",
41
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
38
42
"[HMR] Waiting for update signal from WDS...",
39
43
"Hello from the browser",
40
44
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -46,6 +50,7 @@ exports[`multi compiler should work with universal configuration when hot and li
46
50
47
51
exports[`multi compiler should work with universal configuration when only hot reload is enabled, and do hot reload for browser compiler when browser entry changed: console messages 1`] = `
48
52
Array [
53
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
49
54
"[HMR] Waiting for update signal from WDS...",
50
55
"Hello from the browser",
51
56
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -68,21 +73,25 @@ exports[`multi compiler should work with universal configuration when only hot r
68
73
69
74
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 1`] = `
70
75
Array [
76
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
75
82
"Hello from the browser",
76
83
"[webpack-dev-server] Live Reloading enabled.",
77
84
]
78
85
`;
79
86
80
87
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`] = `
81
88
Array [
89
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
86
95
"Hello from the browser",
87
96
"[webpack-dev-server] Live Reloading enabled.",
88
97
]
@@ -94,21 +103,25 @@ exports[`multi compiler should work with universal configuration when only live
94
103
95
104
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 1`] = `
96
105
Array [
106
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
101
112
"Hello from the browser",
102
113
"[webpack-dev-server] Live Reloading enabled.",
103
114
]
104
115
`;
105
116
106
117
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`] = `
107
118
Array [
119
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
112
125
"Hello from the browser",
113
126
"[webpack-dev-server] Live Reloading enabled.",
114
127
]
@@ -120,6 +133,7 @@ exports[`multi compiler should work with universal configuration when only live
120
133
121
134
exports[`multi compiler should work with web target configurations and do nothing: console messages 1`] = `
122
135
Array [
136
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
123
137
"[HMR] Waiting for update signal from WDS...",
124
138
"one",
125
139
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -129,6 +143,7 @@ Array [
129
143
130
144
exports[`multi compiler should work with web target configurations and do nothing: console messages 2`] = `
131
145
Array [
146
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
132
147
"[HMR] Waiting for update signal from WDS...",
133
148
"two",
134
149
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -142,6 +157,7 @@ exports[`multi compiler should work with web target configurations and do nothin
142
157
143
158
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 1`] = `
144
159
Array [
160
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
145
161
"[HMR] Waiting for update signal from WDS...",
146
162
"one",
147
163
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -153,6 +169,7 @@ Array [
153
169
"[HMR] Error: Aborted because ./one.js is not accepted
154
170
Update propagation: ./one.js -> 0
155
171
<stack>",
172
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
156
173
"[HMR] Waiting for update signal from WDS...",
157
174
"one",
158
175
"[webpack-dev-server] Hot Module Replacement enabled.",
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`] = `
164
181
Array [
182
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
165
183
"[HMR] Waiting for update signal from WDS...",
166
184
"two",
167
185
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -173,6 +191,7 @@ Array [
173
191
"[HMR] Error: Aborted because ./two.js is not accepted
174
192
Update propagation: ./two.js -> 0
175
193
<stack>",
194
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
176
195
"[HMR] Waiting for update signal from WDS...",
177
196
"two",
178
197
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -186,6 +205,7 @@ exports[`multi compiler should work with web target configurations when hot and
186
205
187
206
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 1`] = `
188
207
Array [
208
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
189
209
"[HMR] Waiting for update signal from WDS...",
190
210
"one",
191
211
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -196,6 +216,7 @@ Array [
196
216
"[HMR] Error: Aborted because ./one.js is not accepted
197
217
Update propagation: ./one.js -> 0
198
218
<stack>",
219
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
199
220
"[HMR] Waiting for update signal from WDS...",
200
221
"one",
201
222
"[webpack-dev-server] Hot Module Replacement enabled.",
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`] = `
206
227
Array [
228
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
207
229
"[HMR] Waiting for update signal from WDS...",
208
230
"two",
209
231
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -214,6 +236,7 @@ Array [
214
236
"[HMR] Error: Aborted because ./two.js is not accepted
215
237
Update propagation: ./two.js -> 0
216
238
<stack>",
239
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
217
240
"[HMR] Waiting for update signal from WDS...",
218
241
"two",
219
242
"[webpack-dev-server] Hot Module Replacement enabled.",
@@ -226,21 +249,25 @@ exports[`multi compiler should work with web target configurations when only hot
226
249
227
250
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 1`] = `
228
251
Array [
252
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
233
258
"one",
234
259
"[webpack-dev-server] Live Reloading enabled.",
235
260
]
236
261
`;
237
262
238
263
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`] = `
239
264
Array [
265
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
244
271
"two",
245
272
"[webpack-dev-server] Live Reloading enabled.",
246
273
]
@@ -252,21 +279,25 @@ exports[`multi compiler should work with web target configurations when only liv
252
279
253
280
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 1`] = `
254
281
Array [
282
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
259
288
"one",
260
289
"[webpack-dev-server] Live Reloading enabled.",
261
290
]
262
291
`;
263
292
264
293
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`] = `
265
294
Array [
295
+
"[webpack-dev-server] Overlay is enabled for both errors and warnings.",
0 commit comments