Skip to content

Update tests to reflect new error format #31

Update tests to reflect new error format

Update tests to reflect new error format #31

Triggered via push December 17, 2025 17:10
Status Failure
Total duration 1m 26s
Artifacts

test.yml

on: push
Matrix: lts-runtime
current-runtime
34s
current-runtime
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint
Process completed with exit code 2.
lint: examples/tiny-iiif/iiif.ts#L43
Property 'body' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L37
Property 'contentType' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L33
Property 'message' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L32
Property 'statusCode' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L29
Property 'error' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L26
Property 'location' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
lint: examples/tiny-iiif/iiif.ts#L25
Property 'redirect' does not exist on type '{ readonly contentType: "application/json"; readonly body: string; } | { canonicalLink: string; profileLink: string; contentType: string; body: Buffer<ArrayBufferLike>; } | { ...; } | { ...; }'.
current-runtime
Process completed with exit code 1.