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__/magic-html.test.js.snap.webpack5
+35-32
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,7 @@ exports[`magicHtml option enabled multi compiler mode should handle HEAD request
213
213
214
214
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): response text 1`] = `""`;
215
215
216
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle GET request to magic async html (/bundle): console messages 1`] = `
216
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle GET request to magic async html (/bundle): console messages 1`] = `
217
217
Array [
218
218
"[HMR] Waiting for update signal from WDS...",
219
219
"Hey.",
@@ -222,40 +222,23 @@ Array [
222
222
]
223
223
`;
224
224
225
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle GET request to magic async html (/bundle): page errors 1`] = `Array []`;
225
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle GET request to magic async html (/bundle): page errors 1`] = `Array []`;
226
226
227
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle GET request to magic async html (/bundle): response headers content-type 1`] = `"text/html; charset=utf-8"`;
227
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle GET request to magic async html (/bundle): response headers content-type 1`] = `"text/html; charset=utf-8"`;
228
228
229
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle GET request to magic async html (/bundle): response status 1`] = `200`;
229
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle GET request to magic async html (/bundle): response status 1`] = `200`;
230
230
231
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle GET request to magic async html (/bundle): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/bundle.js\\"></script></body></html>"`;
231
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle GET request to magic async html (/bundle): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/bundle.js\\"></script></body></html>"`;
232
232
233
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle HEAD request to magic async html (/bundle): console messages 1`] = `Array []`;
233
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle HEAD request to magic async html (/bundle): console messages 1`] = `Array []`;
234
234
235
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle HEAD request to magic async html (/bundle): page errors 1`] = `Array []`;
235
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle HEAD request to magic async html (/bundle): page errors 1`] = `Array []`;
236
236
237
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle HEAD request to magic async html (/bundle): response headers content-type 1`] = `"text/html; charset=utf-8"`;
237
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle HEAD request to magic async html (/bundle): response headers content-type 1`] = `"text/html; charset=utf-8"`;
238
238
239
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle HEAD request to magic async html (/bundle): response status 1`] = `200`;
239
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle HEAD request to magic async html (/bundle): response status 1`] = `200`;
240
240
241
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should handle HEAD request to magic async html (/bundle): response text 1`] = `""`;
242
-
243
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle GET request to magic async html (/bundle.other): console messages 1`] = `
244
-
Array [
245
-
"[HMR] Waiting for update signal from WDS...",
246
-
"Hey.",
247
-
"[webpack-dev-server] Hot Module Replacement enabled.",
248
-
"[webpack-dev-server] Live Reloading enabled.",
249
-
]
250
-
`;
251
-
252
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle GET request to magic async html (/bundle.other): page errors 1`] = `Array []`;
253
-
254
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle GET request to magic async html (/bundle.other): response headers content-type 1`] = `"text/html; charset=utf-8"`;
255
-
256
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle GET request to magic async html (/bundle.other): response status 1`] = `200`;
257
-
258
-
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle GET request to magic async html (/bundle.other): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/bundle.other.js\\"></script></body></html>"`;
241
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.js should not handle HEAD request to magic async html (/bundle): response text 1`] = `""`;
259
242
260
243
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should handle HEAD request to magic async html (/bundle.other): console messages 1`] = `Array []`;
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should not handle GET request to magic async html (/bundle.other): console messages 1`] = `
280
+
Array [
281
+
"[HMR] Waiting for update signal from WDS...",
282
+
"Hey.",
283
+
"[webpack-dev-server] Hot Module Replacement enabled.",
284
+
"[webpack-dev-server] Live Reloading enabled.",
285
+
]
286
+
`;
287
+
288
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should not handle GET request to magic async html (/bundle.other): page errors 1`] = `Array []`;
289
+
290
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response headers content-type 1`] = `"text/html; charset=utf-8"`;
291
+
292
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response status 1`] = `200`;
293
+
294
+
exports[`magicHtml option enabled with experiments.outputModule: false filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/bundle.other.js\\"></script></body></html>"`;
295
+
296
296
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension filename bundle.js should handle GET request to magic async html (/bundle): console messages 1`] = `
297
297
Array [
298
298
"[HMR] Waiting for update signal from WDS...",
@@ -373,19 +373,22 @@ exports[`magicHtml option enabled with experiments.outputModule: true and .js ex
373
373
"
374
374
`;
375
375
376
-
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): console messages 1`] = `Array []`;
377
-
378
-
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): page errors 1`] = `
376
+
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): console messages 1`] = `
379
377
Array [
380
-
[Error: SyntaxError: Cannot use 'import.meta' outside a module],
378
+
"[HMR] Waiting for update signal from WDS...",
379
+
"Hey.",
380
+
"[webpack-dev-server] Hot Module Replacement enabled.",
381
+
"[webpack-dev-server] Live Reloading enabled.",
381
382
]
382
383
`;
383
384
385
+
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): page errors 1`] = `Array []`;
386
+
384
387
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): response headers content-type 1`] = `"text/html; charset=utf-8"`;
385
388
386
389
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): response status 1`] = `200`;
387
390
388
-
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/bundle.js\\"></script></body></html>"`;
391
+
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle GET request to magic async html (/bundle): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"module\\" charset=\\"utf-8\\" src=\\"/bundle.js\\"></script></body></html>"`;
389
392
390
393
exports[`magicHtml option enabled with experiments.outputModule: true and .js extension multi compiler mode should handle HEAD request to magic async html (/bundle): console messages 1`] = `Array []`;
0 commit comments