-
Notifications
You must be signed in to change notification settings - Fork 285
Expand file tree
/
Copy pathrequest.test.ts.snap
More file actions
35 lines (31 loc) · 961 Bytes
/
request.test.ts.snap
File metadata and controls
35 lines (31 loc) · 961 Bytes
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`apiRequestAuth should make an authenticated request with the correct parameters 1`] = `
{
"Accept": "application/json",
"Authorization": "token decrypted",
"Cache-Control": "",
"Content-Type": "application/json",
}
`;
exports[`apiRequestAuth should make an authenticated request with the correct parameters and default data 1`] = `
{
"Accept": "application/json",
"Authorization": "token decrypted",
"Cache-Control": "",
"Content-Type": "application/json",
}
`;
exports[`renderer/utils/api/request.ts should make a request with the correct parameters 1`] = `
{
"Accept": "application/json",
"Cache-Control": "no-cache",
"Content-Type": "application/json",
}
`;
exports[`renderer/utils/api/request.ts should make a request with the correct parameters and default data 1`] = `
{
"Accept": "application/json",
"Cache-Control": "no-cache",
"Content-Type": "application/json",
}
`;