/
headers.test.js.snap.webpack4
59 lines (33 loc) · 3.48 KB
/
headers.test.js.snap.webpack4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`headers option as a function returning an array should handle GET request with headers: console messages 1`] = `Array []`;
exports[`headers option as a function returning an array should handle GET request with headers: page errors 1`] = `Array []`;
exports[`headers option as a function returning an array should handle GET request with headers: response headers x-bar 1`] = `"value2"`;
exports[`headers option as a function returning an array should handle GET request with headers: response headers x-foo 1`] = `"value1"`;
exports[`headers option as a function returning an array should handle GET request with headers: response status 1`] = `200`;
exports[`headers option as a function should handle GET request with headers as a function: console messages 1`] = `Array []`;
exports[`headers option as a function should handle GET request with headers as a function: page errors 1`] = `Array []`;
exports[`headers option as a function should handle GET request with headers as a function: response headers x-bar 1`] = `
"key1=value1
key2=value2"
`;
exports[`headers option as a function should handle GET request with headers as a function: response status 1`] = `200`;
exports[`headers option as a string should handle GET request with headers: console messages 1`] = `Array []`;
exports[`headers option as a string should handle GET request with headers: page errors 1`] = `Array []`;
exports[`headers option as a string should handle GET request with headers: response headers x-foo 1`] = `"dev-server headers"`;
exports[`headers option as a string should handle GET request with headers: response status 1`] = `200`;
exports[`headers option as an array of objects should handle GET request with headers: console messages 1`] = `Array []`;
exports[`headers option as an array of objects should handle GET request with headers: page errors 1`] = `Array []`;
exports[`headers option as an array of objects should handle GET request with headers: response headers x-bar 1`] = `"value2"`;
exports[`headers option as an array of objects should handle GET request with headers: response headers x-foo 1`] = `"value1"`;
exports[`headers option as an array of objects should handle GET request with headers: response status 1`] = `200`;
exports[`headers option as an array should handle GET request with headers as an array: console messages 1`] = `Array []`;
exports[`headers option as an array should handle GET request with headers as an array: page errors 1`] = `Array []`;
exports[`headers option as an array should handle GET request with headers as an array: response headers x-bar 1`] = `
"key1=value1
key2=value2"
`;
exports[`headers option as an array should handle GET request with headers as an array: response status 1`] = `200`;
exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: console messages 1`] = `Array []`;
exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: page errors 1`] = `Array []`;
exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response headers x-foo 1`] = `"dev-middleware-headers"`;
exports[`headers option dev middleware headers take precedence for dev middleware output files should handle GET request with headers as a function: response status 1`] = `200`;