Skip to content

Rewrite to add API

Rewrite to add API #94

Triggered via pull request August 3, 2024 09:23
@MaddyGuthridgeMaddyGuthridge
synchronize #1
rewrite
Status Failure
Total duration 45s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
check
Process completed with exit code 1.
lint: src/types/globals.ts#L8
'PortfolioConfig' is not defined
lint: tests/setup/jestExtended.d.ts#L8
'T' is not defined
lint
Process completed with exit code 1.
tests/backend/admin/repo/get.test.ts > Blocks unauthorized users: tests/backend/admin/repo/get.test.ts#L10
AssertionError: expected Error: ApiError: [404] Error 404 at GET /… { …(2) } to match object { code: 401 } (1 matching property omitted from actual) - Expected + Received Object { - "code": 401, + "code": 404, } ❯ tests/backend/admin/repo/get.test.ts:10:3
tests/backend/admin/repo/get.test.ts > Gives a 400 when no data directory is set up: tests/backend/admin/repo/get.test.ts#L16
AssertionError: expected Error: ApiError: [404] Error 404 at GET /… { …(2) } to match object { code: 400 } (1 matching property omitted from actual) - Expected + Received Object { - "code": 400, + "code": 404, } ❯ tests/backend/admin/repo/get.test.ts:16:3
test
Process completed with exit code 1.