Skip to content

More and better unit tests #48

More and better unit tests

More and better unit tests #48

Triggered via pull request October 31, 2025 22:47
Status Success
Total duration 1m 44s
Artifacts

unit-test.yml

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

Annotations

30 errors
Unit Test (Node.js v22): dataLayer/harperBridge/ResourceBridge.ts#L68
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'.
Unit Test (Node.js v22): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Unit Test (Node.js v22): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Unit Test (Node.js v22): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Unit Test (Node.js v22): components/Application.ts#L83
No overload matches this call.
Unit Test (Node.js v22): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Unit Test (Node.js v22): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v22): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v22): bin/copyDb.ts#L190
Type '"binary"' is not assignable to type '"msgpack" | "ordered-binary"'.
Unit Test (Node.js v22): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.
Unit Test (Node.js v20): dataLayer/harperBridge/ResourceBridge.ts#L68
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'.
Unit Test (Node.js v20): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Unit Test (Node.js v20): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Unit Test (Node.js v20): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Unit Test (Node.js v20): components/Application.ts#L83
No overload matches this call.
Unit Test (Node.js v20): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Unit Test (Node.js v20): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v20): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v20): bin/copyDb.ts#L190
Type '"binary"' is not assignable to type '"msgpack" | "ordered-binary"'.
Unit Test (Node.js v20): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.
Unit Test (Node.js v24): dataLayer/harperBridge/ResourceBridge.ts#L68
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'.
Unit Test (Node.js v24): components/EntryHandler.ts#L142
Argument of type '[DirectoryEntryEvent]' is not assignable to parameter of type '[entry: AddDirectoryEvent] | [entry: UnlinkDirectoryEvent]'.
Unit Test (Node.js v24): components/EntryHandler.ts#L114
Argument of type '[AddFileEvent | ChangeFileEvent]' is not assignable to parameter of type '[entry: AddFileEvent] | [entry: ChangeFileEvent]'.
Unit Test (Node.js v24): components/ComponentV1.ts#L101
Cannot assign to 'urlPath' because it is a read-only property.
Unit Test (Node.js v24): components/Application.ts#L83
No overload matches this call.
Unit Test (Node.js v24): bin/copyDb.ts#L199
Property 'encoder' does not exist on type 'Database<any, Key>'.
Unit Test (Node.js v24): bin/copyDb.ts#L197
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v24): bin/copyDb.ts#L191
Property 'compression' does not exist on type 'OpenDBIObject'.
Unit Test (Node.js v24): bin/copyDb.ts#L190
Type '"binary"' is not assignable to type '"msgpack" | "ordered-binary"'.
Unit Test (Node.js v24): bin/copyDb.ts#L165
Argument of type 'string' is not assignable to parameter of type 'DatabaseOptions & { name: string; }'.