Skip to content

templates support

templates support #49

Triggered via push April 16, 2024 01:56
Status Failure
Total duration 28s
Artifacts
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
build (18.x): src/tests/controllers.tests/resume.test.ts#L30
Conversion of type '{ user: string; itemName: string; itemIds: mongoose.Types.ObjectId[]; templateId: mongoose.Types.ObjectId; }' to type 'resumeType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/tests/controllers.tests/resume.test.ts#L39
Conversion of type '{ user: string; itemName: string; itemIds: mongoose.Types.ObjectId[]; templateId: mongoose.Types.ObjectId; }' to type 'resumeType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/tests/controllers.tests/resume.test.ts#L54
Conversion of type '{ user: string; itemName: string; itemIds: mongoose.Types.ObjectId[]; templateId: mongoose.Types.ObjectId; }' to type 'resumeType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/tests/controllers.tests/resume.test.ts#L65
Conversion of type '{ itemName: string; user: string; itemIds: mongoose.Types.ObjectId[]; templateId: mongoose.Types.ObjectId; }' to type 'resumeType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x): src/tests/controllers.tests/resume.test.ts#L91
Conversion of type '{ user: string; itemName: string; itemIds: mongoose.Types.ObjectId[]; templateId: mongoose.Types.ObjectId; }' to type 'resumeType' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build (18.x)
Process completed with exit code 2.
build (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.