Skip to content

feat: better infer zod response type #72

feat: better infer zod response type

feat: better infer zod response type #72

Triggered via pull request August 6, 2024 11:37
Status Failure
Total duration 28s
Billable time 1m
Artifacts

lib-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
tests: src/types/icrc-responses.spec.ts#L216
Property 'url' is missing in type '{ name: "ICRC-25"; }' but required in type '{ name: "ICRC-25" | "ICRC-29"; url: string; }'.
tests: src/types/icrc-responses.spec.ts#L245
Property 'name' is missing in type '{ url: string; }' but required in type '{ name: "ICRC-25" | "ICRC-29"; url: string; }'.
tests: src/types/icrc-responses.spec.ts#L269
Property 'supportedStandards' is missing in type '{}' but required in type '{ supportedStandards: { name: "ICRC-25" | "ICRC-29"; url: string; }[]; }'.
tests: src/types/icrc-responses.spec.ts#L314
Type '"test"' is not assignable to type '"ready"'.
tests: src/types/icrc-responses.spec.ts#L322
Type '{ hello: string; }' is not assignable to type '"ready"'.
tests
Process completed with exit code 2.