Skip to content

update url

update url #404

Triggered via push April 2, 2024 22:41
Status Failure
Total duration 2m 8s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
ZodError: [: node_modules/zod/lib/index.mjs#L164
"code": "invalid_type", "expected": "string", "received": "undefined", "path": [ "name" ], "message": "Required" } ] at new ZodError (/home/runner/work/instructor-js/instructor-js/node_modules/zod/lib/index.mjs:164:9) at error (/home/runner/work/instructor-js/instructor-js/node_modules/zod/lib/index.mjs:538:31) at /home/runner/work/instructor-js/instructor-js/src/instructor.ts:190:45
error: expect(received).toEqual(expected): tests/anthropic.test.ts#L212
{ + jobHistory: [], + skills: [], - jobHistory: [ - { - companyName: "Acme Corp", - role: "Software Engineer", - years: 5, - }, - { - companyName: "Globex Inc.", - role: "Lead Developer", - years: 3, - } - ], - skills: [ - "Programming", - "Leadership", - "Communication" - ], userDetails: { contactDetails: { + email: null, + phoneNumber: null, - email: "john.doe@example.com", - phoneNumber: "555-1234", }, firstName: "John", lastName: "Doe", }, } - Expected - 19 + Received + 4 at /home/runner/work/instructor-js/instructor-js/tests/anthropic.test.ts:212:5
run-tests
Process completed with exit code 1.
run-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.