-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: no more inline snapshots due to prettier
- Loading branch information
Showing
8 changed files
with
232 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Client 200 OK! 1`] = ` | ||
[ | ||
1, | ||
2, | ||
3, | ||
] | ||
`; | ||
|
||
exports[`Client 404 1`] = `[Error: Not Found]`; | ||
|
||
exports[`Client Headers 1`] = ` | ||
{ | ||
"accept": "*/*", | ||
"accept-encoding": "gzip, deflate", | ||
"accept-language": "*", | ||
"connection": "keep-alive", | ||
"host": "redacted", | ||
"sec-fetch-mode": "cors", | ||
"user-agent": "node", | ||
"x-async": "Bearer 1234567890", | ||
"x-build-id": "test/123", | ||
"x-func": "hello", | ||
"x-merged": "hello", | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Fetcher 200 OK! 1`] = ` | ||
{ | ||
"body": [ | ||
1, | ||
2, | ||
3, | ||
], | ||
"ok": true, | ||
"status": 200, | ||
"statusText": "OK", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher 204 1`] = ` | ||
{ | ||
"body": "", | ||
"ok": true, | ||
"status": 204, | ||
"statusText": "No Content", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher 404 1`] = ` | ||
{ | ||
"body": "<h1>Not Found</h1>", | ||
"ok": false, | ||
"status": 404, | ||
"statusText": "Not Found", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher Custom options iso fetcher 1`] = ` | ||
{ | ||
"body": { | ||
"accept": "*/*", | ||
"accept-encoding": "gzip, deflate", | ||
"accept-language": "*", | ||
"connection": "keep-alive", | ||
"host": "redacted", | ||
"sec-fetch-mode": "cors", | ||
"user-agent": "node", | ||
"x-fetcher": "custom", | ||
}, | ||
"ok": true, | ||
"status": 200, | ||
"statusText": "OK", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher Custom timeout iso fetcher 1`] = `[TimeoutError: Request timed out]`; | ||
exports[`Fetcher JSON Error 1`] = ` | ||
{ | ||
"body": { | ||
"code": 9, | ||
"message": "Data should be array", | ||
"status": "FAILED_PRECONDITION", | ||
}, | ||
"ok": false, | ||
"status": 400, | ||
"statusText": "Bad Request", | ||
"url": Any<URL>, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Client 200 OK! 1`] = ` | ||
[ | ||
1, | ||
2, | ||
3, | ||
] | ||
`; | ||
|
||
exports[`Client 404 1`] = `[Error: Not Found]`; | ||
|
||
exports[`Client Headers 1`] = ` | ||
{ | ||
"accept": "*/*", | ||
"accept-encoding": "gzip, deflate", | ||
"accept-language": "*", | ||
"connection": "keep-alive", | ||
"host": "redacted", | ||
"sec-fetch-mode": "cors", | ||
"user-agent": "node", | ||
"x-async": "Bearer 1234567890", | ||
"x-build-id": "test/123", | ||
"x-func": "hello", | ||
"x-merged": "hello", | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Fetcher 200 OK! 1`] = ` | ||
{ | ||
"body": [ | ||
1, | ||
2, | ||
3, | ||
], | ||
"ok": true, | ||
"status": 200, | ||
"statusText": "OK", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher 204 1`] = ` | ||
{ | ||
"body": "", | ||
"ok": true, | ||
"status": 204, | ||
"statusText": "No Content", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher 404 1`] = ` | ||
{ | ||
"body": "<h1>Not Found</h1>", | ||
"ok": false, | ||
"status": 404, | ||
"statusText": "Not Found", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher Custom options iso fetcher 1`] = ` | ||
{ | ||
"body": { | ||
"accept": "*/*", | ||
"accept-encoding": "gzip, deflate", | ||
"accept-language": "*", | ||
"connection": "keep-alive", | ||
"host": "redacted", | ||
"sec-fetch-mode": "cors", | ||
"user-agent": "node", | ||
"x-fetcher": "custom", | ||
}, | ||
"ok": true, | ||
"status": 200, | ||
"statusText": "OK", | ||
"url": Any<URL>, | ||
} | ||
`; | ||
exports[`Fetcher Custom timeout iso fetcher 1`] = `[TimeoutError: Request timed out]`; | ||
exports[`Fetcher JSON Error 1`] = ` | ||
{ | ||
"body": { | ||
"code": 9, | ||
"message": "Data should be array", | ||
"status": "FAILED_PRECONDITION", | ||
}, | ||
"ok": false, | ||
"status": 400, | ||
"statusText": "Bad Request", | ||
"url": Any<URL>, | ||
} | ||
`; |
Oops, something went wrong.