chore(deps): update dependency @types/node to v20.17.9 - autoclosed #579
Annotations
4 errors
test/integration/cancel-request.test.ts > Test Testing Farm DELETE /requests/{request_id} > non-existent request_id:
test/integration/cancel-request.test.ts#L33
Error: Snapshot `Test Testing Farm DELETE /requests/{request_id} > non-existent request_id 1` mismatched
Expected: "[Error: "Internal Server Error"]"
Received: "[Error: {"detail":[{"loc":["path","request_id"],"msg":"value is not a valid uuid","type":"type_error.uuid"}]}]"
❯ test/integration/cancel-request.test.ts:33:5
|
test/integration/request-details.test.ts > Test Testing Farm GET /requests/{request_id} > safe response:
src/index.ts#L97
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"result",
"xunit"
],
"message": "Required"
}
]
❯ Object.get error [as error] node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse node_modules/zod/lib/index.mjs:692:22
❯ TestingFarmAPI.requestDetails src/index.ts:97:26
❯ test/integration/request-details.test.ts:9:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'result', 'xunit' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'result', 'xunit' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { result: [ 'Required' ] } } }
|
test/integration/request-details.test.ts > Test Testing Farm GET /requests/{request_id} > non-existent request_id:
test/integration/request-details.test.ts#L79
Error: Snapshot `Test Testing Farm GET /requests/{request_id} > non-existent request_id 1` mismatched
Expected: "[Error: "Internal Server Error"]"
Received: "[Error: {"detail":[{"loc":["path","request_id"],"msg":"value is not a valid uuid","type":"type_error.uuid"}]}]"
❯ test/integration/request-details.test.ts:79:5
|
Tests - Node.js
Process completed with exit code 1.
|