0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/logger/__snapshots__/err-serializer.spec.ts.snap
renovate[bot] 0299455412
chore(deps): update dependency nock to v14 (main) (#34557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-28 14:20:08 +00:00

36 lines
921 B
Text

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`logger/err-serializer > got > sanitize http error 1`] = `
{
"code": "ERR_NON_2XX_3XX_RESPONSE",
"message": "Response code 412 (Precondition Failed)",
"name": "HTTPError",
"options": {
"headers": {
"accept": "application/json",
"accept-encoding": "gzip, deflate, br",
"user-agent": "RenovateBot/0.0.0-semantic-release (https://github.com/renovatebot/renovate)",
},
"hostType": "any",
"http2": false,
"method": "POST",
"password": "***********",
"url": "https://**redacted**@github.com/api",
"username": "",
},
"response": {
"body": {
"err": {
"message": "failed",
},
},
"headers": {
"content-type": "application/json",
},
"httpVersion": "1.1",
"retryCount": 0,
"statusCode": 412,
"statusMessage": "Precondition Failed",
},
}
`;