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__/headers.test.js.snap.webpack4
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ key2=value2"
21
21
22
22
exports[`headers option as a function should handle GET request with headers as a function: response status 1`] = `200`;
23
23
24
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: console messages 1`] = `Array []`;
25
+
26
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: page errors 1`] = `Array []`;
27
+
28
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response headers x-foo 1`] = `"dev-server headers"`;
29
+
30
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response status 1`] = `200`;
31
+
24
32
exports[`headers option as a string should handle GET request with headers: console messages 1`] = `Array []`;
25
33
26
34
exports[`headers option as a string should handle GET request with headers: page errors 1`] = `Array []`;
Copy file name to clipboardExpand all lines: test/e2e/__snapshots__/headers.test.js.snap.webpack5
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ key2=value2"
21
21
22
22
exports[`headers option as a function should handle GET request with headers as a function: response status 1`] = `200`;
23
23
24
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: console messages 1`] = `Array []`;
25
+
26
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: page errors 1`] = `Array []`;
27
+
28
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response headers x-foo 1`] = `"dev-server headers"`;
29
+
30
+
exports[`headers option as a string and support HEAD request should handle HEAD request with headers: response status 1`] = `200`;
31
+
24
32
exports[`headers option as a string should handle GET request with headers: console messages 1`] = `Array []`;
25
33
26
34
exports[`headers option as a string should handle GET request with headers: page errors 1`] = `Array []`;
0 commit comments