fix: resolved build and lint errors #23
ci.yml
on: push
Frontend — Lint & Build
1m 3s
Backend — Lint & Test
28s
Annotations
11 errors and 2 warnings
|
Backend — Lint & Test
Process completed with exit code 1.
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > Edge cases > stores completion_duration_seconds on confirmation:
backend/tests/integration/payments.test.js#L1200
AssertionError: expected 'pending' to be 'confirmed' // Object.is equality
Expected: "confirmed"
Received: "pending"
❯ tests/integration/payments.test.js:1200:29
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > Edge cases > handles concurrent verify calls gracefully:
backend/tests/integration/payments.test.js#L1156
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:1156:25
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > Full payment lifecycle (end-to-end) > walks through the entire payment flow:
backend/tests/integration/payments.test.js#L859
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:859:30
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > Webhook delivery > calls sendWebhook with null url when no webhook_url is set:
backend/tests/integration/payments.test.js#L807
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:807:26
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > Webhook delivery > calls sendWebhook with the correct payload on payment confirmation:
backend/tests/integration/payments.test.js#L770
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ tests/integration/payments.test.js:770:31
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > POST /api/verify-payment/:id > returns the cached confirmed result on repeated verify calls:
backend/tests/integration/payments.test.js#L723
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:723:27
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > POST /api/verify-payment/:id > confirms a payment when a matching Stellar transaction is found:
backend/tests/integration/payments.test.js#L656
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:656:26
|
|
tests/integration/payments.test.js > Payment Lifecycle — Integration > POST /api/verify-payment/:id > returns pending when no matching Stellar transaction is found:
backend/tests/integration/payments.test.js#L629
AssertionError: expected 500 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 500
❯ tests/integration/payments.test.js:629:26
|
|
src/lib/stellar.test.js > findMatchingPayment > returns a fee estimate that responds to current fee stats:
backend/src/lib/stellar.test.js#L246
AssertionError: expected { network: 'testnet', …(8) } to match object { network: 'testnet', …(6) }
(5 matching properties omitted from actual)
- Expected
+ Received
Object {
- "horizonUrl": "https://horizon-testnet.stellar.org/",
+ "horizonUrl": "https://horizon-testnet.stellar.org",
"lastLedgerBaseFee": 100,
"network": "testnet",
"operationCount": 1,
"recommendedFeeStroops": 250,
"totalFeeStroops": 250,
"totalFeeXlm": "0.0000250",
}
❯ src/lib/stellar.test.js:246:20
|
|
Frontend — Lint & Build
Process completed with exit code 1.
|
|
Backend — Lint & Test
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/
|
|
Frontend — Lint & Build
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, pnpm/action-setup@v3. 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/
|