Skip to content

Add tests to api routes #13

Add tests to api routes

Add tests to api routes #13

Triggered via pull request January 3, 2025 17:48
Status Failure
Total duration 1m 1s
Artifacts

CI.yml

on: pull_request
Matrix: Run all tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
app/api/retrieve-ingest/RetrieveIngestRoute.test.ts > GET /api/retrieve-json > returns a 400 error when the query parameter is missing: app/api/retrieve-ingest/RetrieveIngestRoute.test.ts#L98
AssertionError: expected { Object (error) } to deeply equal { Object (error) } - Expected + Received Object { - "error": "Invalid or missing query parameter", + "error": "Invalid or missing query parameter. \"ref\" is required", } ❯ app/api/retrieve-ingest/RetrieveIngestRoute.test.ts:98:26
Run all tests (20.x)
Process completed with exit code 1.
Run all tests (22.x)
The job was canceled because "_20_x" failed.
app/api/retrieve-ingest/RetrieveIngestRoute.test.ts > GET /api/retrieve-json > returns a 400 error when the query parameter is missing: app/api/retrieve-ingest/RetrieveIngestRoute.test.ts#L98
AssertionError: expected { Object (error) } to deeply equal { Object (error) } - Expected + Received Object { - "error": "Invalid or missing query parameter", + "error": "Invalid or missing query parameter. \"ref\" is required", } ❯ app/api/retrieve-ingest/RetrieveIngestRoute.test.ts:98:26
Run all tests (22.x)
Process completed with exit code 1.
Run all tests (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636