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.webpack4
+39-12
Original file line number
Diff line number
Diff line change
@@ -40,53 +40,53 @@ exports[`magicHtml option disabled filename bundle.js should not handle HEAD req
40
40
41
41
exports[`magicHtml option disabled filename bundle.js should not handle HEAD request to magic async html (/bundle): response text 1`] = `""`;
42
42
43
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): console messages 1`] = `
43
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: console messages 1`] = `
44
44
Array [
45
45
"Failed to load resource: the server responded with a status of 404 (Not Found)",
46
46
]
47
47
`;
48
48
49
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): page errors 1`] = `Array []`;
49
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: page errors 1`] = `Array []`;
50
50
51
-
exports[`magicHtml option disabled 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"`;
51
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response headers content-type 1`] = `"text/html; charset=utf-8"`;
52
52
53
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response status 1`] = `404`;
53
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response status 1`] = `404`;
54
54
55
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response text 1`] = `
55
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response text 1`] = `
56
56
"<!DOCTYPE html>
57
57
<html lang=\\"en\\">
58
58
<head>
59
59
<meta charset=\\"utf-8\\">
60
60
<title>Error</title>
61
61
</head>
62
62
<body>
63
-
<pre>Cannot GET /bundle.other</pre>
63
+
<pre>Cannot GET /bundle</pre>
64
64
</body>
65
65
</html>
66
66
"
67
67
`;
68
68
69
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: console messages 1`] = `
69
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): console messages 1`] = `
70
70
Array [
71
71
"Failed to load resource: the server responded with a status of 404 (Not Found)",
72
72
]
73
73
`;
74
74
75
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: page errors 1`] = `Array []`;
75
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): page errors 1`] = `Array []`;
76
76
77
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response headers content-type 1`] = `"text/html; charset=utf-8"`;
77
+
exports[`magicHtml option disabled 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"`;
78
78
79
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response status 1`] = `404`;
79
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response status 1`] = `404`;
80
80
81
-
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to /bundle: response text 1`] = `
81
+
exports[`magicHtml option disabled filename bundle.other.js should not handle GET request to magic async html (/bundle.other): response text 1`] = `
82
82
"<!DOCTYPE html>
83
83
<html lang=\\"en\\">
84
84
<head>
85
85
<meta charset=\\"utf-8\\">
86
86
<title>Error</title>
87
87
</head>
88
88
<body>
89
-
<pre>Cannot GET /bundle</pre>
89
+
<pre>Cannot GET /bundle.other</pre>
90
90
</body>
91
91
</html>
92
92
"
@@ -185,3 +185,30 @@ exports[`magicHtml option enabled filename bundle.other.js should not handle GET
185
185
</html>
186
186
"
187
187
`;
188
+
189
+
exports[`magicHtml option enabled multi compiler mode should handle GET request to magic async html (/main): console messages 1`] = `
190
+
Array [
191
+
"[HMR] Waiting for update signal from WDS...",
192
+
"Hey.",
193
+
"[webpack-dev-server] Hot Module Replacement enabled.",
194
+
"[webpack-dev-server] Live Reloading enabled.",
195
+
]
196
+
`;
197
+
198
+
exports[`magicHtml option enabled multi compiler mode should handle GET request to magic async html (/main): page errors 1`] = `Array []`;
199
+
200
+
exports[`magicHtml option enabled multi compiler mode should handle GET request to magic async html (/main): response headers content-type 1`] = `"text/html; charset=utf-8"`;
201
+
202
+
exports[`magicHtml option enabled multi compiler mode should handle GET request to magic async html (/main): response status 1`] = `200`;
203
+
204
+
exports[`magicHtml option enabled multi compiler mode should handle GET request to magic async html (/main): response text 1`] = `"<!DOCTYPE html><html><head><meta charset=\\"utf-8\\"/></head><body><script type=\\"text/javascript\\" charset=\\"utf-8\\" src=\\"/main.js\\"></script></body></html>"`;
205
+
206
+
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): console messages 1`] = `Array []`;
207
+
208
+
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): page errors 1`] = `Array []`;
209
+
210
+
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): response headers content-type 1`] = `"text/html; charset=utf-8"`;
211
+
212
+
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): response status 1`] = `200`;
213
+
214
+
exports[`magicHtml option enabled multi compiler mode should handle HEAD request to magic async html (/main): response text 1`] = `""`;
0 commit comments