Skip to content

Add backend tests

Add backend tests #727

Triggered via push February 14, 2026 10:25
Status Failure
Total duration 50s
Artifacts

main.yml

on: push
Matrix: backend-tests
Matrix: quality
Fit to window
Zoom out
Zoom in

Annotations

10 errors
backend-tests (20.x)
Process completed with exit code 1.
quality (20.x)
Process completed with exit code 2.
quality (20.x): src/common/models/User.ts#L322
Argument of type 'string' is not assignable to parameter of type 'number'.
quality (20.x): src/common/models/User.ts#L166
Type 'Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction' is not assignable to type 'DocumentType<User> | null'.
quality (20.x): src/common/helpers/telegram.ts#L118
Argument of type 'string' is not assignable to parameter of type 'number'.
quality (20.x): src/bot/middlewares/attach-user.ts#L15
Type 'Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction' is not assignable to type 'DocumentType<User>'.
quality (20.x): src/bot/keyboards/queue-menu.ts#L121
Argument of type '(Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction) | DocumentType<...>' is not assignable to parameter of type 'DocumentType<User>'.
quality (20.x): src/bot/keyboards/queue-menu.ts#L110
Argument of type 'string | number' is not assignable to parameter of type 'number'.
quality (20.x): src/bot/features/admin/addresses.ts#L26
Argument of type 'string' is not assignable to parameter of type 'number'.
quality (20.x): src/bot/features/admin/addresses.ts#L22
Argument of type 'string' is not assignable to parameter of type 'number'.