Skip to content

Add some unit tests #27

Add some unit tests

Add some unit tests #27

Triggered via pull request October 24, 2025 22:29
Status Failure
Total duration 7m 20s
Artifacts 3

integration-test.yml

on: pull_request
Matrix: integration-test
Fit to window
Zoom out
Zoom in

Annotations

31 errors
Integration Test (Node.js v24)
Process completed with exit code 1.
Integration Test (Node.js v24): dataLayer/harperBridge/ResourceBridge.ts#L69
Argument of type '{ conditions: Conditions; operator: string; limit: number; offset: number; reverse: boolean; select: any; sort: Sort; allowFullScan: true; }' is not assignable to parameter of type 'Id | RequestTarget'.
Integration Test (Node.js v24): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Integration Test (Node.js v24): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Integration Test (Node.js v24): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Integration Test (Node.js v24): components/Application.ts#L83
No overload matches this call.
Integration Test (Node.js v24): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Integration Test (Node.js v24): bin/copyDb.ts#L198
Argument of type 'OpenDBIObject' is not assignable to parameter of type 'DatabaseOptions'.
Integration Test (Node.js v24): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v24): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v24): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.
Integration Test (Node.js v22): dataLayer/harperBridge/ResourceBridge.ts#L69
Argument of type '{ conditions: Conditions; operator: string; limit: number; offset: number; reverse: boolean; select: any; sort: Sort; allowFullScan: true; }' is not assignable to parameter of type 'Id | RequestTarget'.
Integration Test (Node.js v22): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Integration Test (Node.js v22): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Integration Test (Node.js v22): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Integration Test (Node.js v22): components/Application.ts#L83
No overload matches this call.
Integration Test (Node.js v22): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Integration Test (Node.js v22): bin/copyDb.ts#L198
Argument of type 'OpenDBIObject' is not assignable to parameter of type 'DatabaseOptions'.
Integration Test (Node.js v22): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v22): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v22): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.
Integration Test (Node.js v20): dataLayer/harperBridge/ResourceBridge.ts#L69
Argument of type '{ conditions: Conditions; operator: string; limit: number; offset: number; reverse: boolean; select: any; sort: Sort; allowFullScan: true; }' is not assignable to parameter of type 'Id | RequestTarget'.
Integration Test (Node.js v20): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Integration Test (Node.js v20): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Integration Test (Node.js v20): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Integration Test (Node.js v20): components/Application.ts#L83
No overload matches this call.
Integration Test (Node.js v20): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Integration Test (Node.js v20): bin/copyDb.ts#L198
Argument of type 'OpenDBIObject' is not assignable to parameter of type 'DatabaseOptions'.
Integration Test (Node.js v20): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v20): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Integration Test (Node.js v20): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.

Artifacts

Produced during runtime
Name Size Digest
harper-logs-node-20 Expired
35.5 KB
sha256:f943974abb0a66af730f70b3b1de83699f3094542b7f43b0fdccbeeda4e20845
harper-logs-node-22 Expired
35.4 KB
sha256:a67203007d83204204205de5a6485b5f52ca7876626f012a233f9cffa583ce15
harper-logs-node-24 Expired
35.3 KB
sha256:9b48beb378f2c3a7d01fe95635fe6616925e77ad83fd842492e3981877df41bb