Finalize E2E integration tests and fix related critical bugs (#345) #360
Annotations
10 errors and 1 warning
|
Run integration tests:
tests/routes/apiKeys.test.ts#L402
AssertionError: expected undefined to be defined
❯ tests/routes/apiKeys.test.ts:402:19
|
|
Run integration tests:
tests/routes/apiKeys.test.ts#L315
AssertionError: expected 0 to be greater than 0
❯ tests/routes/apiKeys.test.ts:315:25
|
|
Run integration tests:
tests/routes/apiKeys.test.ts#L153
AssertionError: expected 0 to be greater than 0
❯ tests/routes/apiKeys.test.ts:153:25
|
|
Run integration tests:
src/config/index.ts#L447
Error: process.exit unexpectedly called with "1"
❯ loadConfig src/config/index.ts:447:15
❯ src/services/reputationService.ts:37:16
❯ src/routes/trust.ts:2:1
|
|
Run integration tests:
src/config/index.ts#L447
Error: process.exit unexpectedly called with "1"
❯ loadConfig src/config/index.ts:447:15
❯ src/services/reputationService.ts:37:16
❯ src/services/reputationService.test.ts:6:1
|
|
Run integration tests:
src/config/index.ts#L447
Error: process.exit unexpectedly called with "1"
❯ loadConfig src/config/index.ts:447:15
❯ src/jobs/scoreSnapshot.ts:12:16
❯ src/jobs/scoreSnapshot.test.ts:2:1
|
|
Run integration tests:
src/config/index.ts#L447
Error: process.exit unexpectedly called with "1"
❯ loadConfig src/config/index.ts:447:15
❯ src/services/reputationService.ts:37:16
❯ src/services/identityService.ts:113:1
|
|
Run integration tests:
src/__tests__/horizonBondEvents.test.ts#L63
AssertionError: expected "vi.fn()" to be called with arguments: [ { id: 'bond123', …(2) } ]
Received:
1st vi.fn() call:
[
{
+ "address": "GABC...",
"amount": "1000",
"duration": "365",
"id": "bond123",
},
]
Number of calls: 1
❯ src/__tests__/horizonBondEvents.test.ts:63:24
|
|
Run integration tests:
src/services/audit/index.ts#L94
Error: Tenant scoping required: either provide tenantId or explicitly enable allowSuperScope for privileged access
❯ AuditLogService.getLogs src/services/audit/index.ts:94:13
❯ tests/routes/webhooks.test.ts:201:30
This error originated in "tests/routes/webhooks.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "returns 401 when no Authorization header is provided". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Run integration tests:
src/services/audit/index.ts#L94
Error: Tenant scoping required: either provide tenantId or explicitly enable allowSuperScope for privileged access
❯ AuditLogService.getLogs src/services/audit/index.ts:94:13
❯ tests/routes/webhooks.test.ts:158:30
This error originated in "tests/routes/webhooks.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "two consecutive rotations produce different secrets". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
Loading