Update tests to reflect new error format #31
test.yml
on: push
Matrix: lts-runtime
iiif-validator
38s
lint
22s
current-runtime
34s
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.
|