Skip to content

Add OpenAPI support #137

Add OpenAPI support

Add OpenAPI support #137

Triggered via pull request November 7, 2024 15:17
Status Failure
Total duration 50s
Artifacts

test-api.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests/accounts.test.js > GET /accounts/grants-costs > should return grants costs calculation data object: nomad-rest-api/tests/accounts.test.js#L316
AssertionError: expected { expsCount: 2, claimsCount: 1, …(1) } to match object { expsCount: 1, claimsCount: 1, …(1) } - Expected + Received Object { "claimsCount": 1, - "expsCount": 1, + "expsCount": 2, "users": Array [ Object { "_id": "672cda19dccb5350ddd4b476", "fullName": "Test User Three", "username": "test3", }, ], } ❯ tests/accounts.test.js:316:31
tests/auto-experiments.test.js > GET /api/v2/auto-experiments > should return experiments within a date range: nomad-rest-api/tests/auto-experiments.test.js#L73
AssertionError: expected 7 to be 1 // Object.is equality - Expected + Received - 1 + 7 ❯ tests/auto-experiments.test.js:73:25
test
Process completed with exit code 1.