-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathintegration.test.ts.snap
57 lines (54 loc) · 1.83 KB
/
integration.test.ts.snap
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`with an express app with forked process function handling Function integration tests basic-twiml.js should match snapshot 1`] = `
Object {
"body": Object {},
"headers": Object {
"cache-control": "no-store, no-cache, must-revalidate, proxy-revalidate",
"connection": "close",
"content-type": "text/xml; charset=utf-8",
"expires": "0",
"pragma": "no-cache",
"surrogate-control": "no-store",
"x-powered-by": "Express",
},
"statusCode": 200,
"text": "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?><Response><Message>Hello World</Message></Response>",
"type": "text/xml",
}
`;
exports[`with an express app with inline function handling Assets integration tests hello.js should match snapshot 1`] = `
Object {
"body": Object {},
"headers": Object {
"accept-ranges": "bytes",
"cache-control": "no-store, no-cache, must-revalidate, proxy-revalidate",
"connection": "close",
"content-type": "application/javascript; charset=UTF-8",
"expires": "0",
"pragma": "no-cache",
"surrogate-control": "no-store",
"x-powered-by": "Express",
},
"statusCode": 200,
"text": "alert('Hello world!');
",
"type": "application/javascript",
}
`;
exports[`with an express app with inline function handling Function integration tests basic-twiml.js should match snapshot 1`] = `
Object {
"body": Object {},
"headers": Object {
"cache-control": "no-store, no-cache, must-revalidate, proxy-revalidate",
"connection": "close",
"content-type": "text/xml; charset=utf-8",
"expires": "0",
"pragma": "no-cache",
"surrogate-control": "no-store",
"x-powered-by": "Express",
},
"statusCode": 200,
"text": "<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?><Response><Message>Hello World</Message></Response>",
"type": "text/xml",
}
`;