Skip to content

fix: amount calculation in the rgbpp address balance endpoint #700

fix: amount calculation in the rgbpp address balance endpoint

fix: amount calculation in the rgbpp address balance endpoint #700

Triggered via pull request August 19, 2024 05:16
Status Failure
Total duration 1m 11s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
test/services/transaction.test.ts > transactionProcessor > enqueueTransaction: should be add transaction request to queue: test/services/transaction.test.ts#L130
AssertionError: expected 2 to be 1 // Object.is equality - Expected + Received - 1 + 2 ❯ test/services/transaction.test.ts:130:27
test/routes/rgbpp/address.test.ts > /:btc_address/balance - with pending_amount: test/routes/rgbpp/address.test.ts#L166
Error: Snapshot `/:btc_address/balance - with pending_amount 1` mismatched ❯ test/routes/rgbpp/address.test.ts:166:18
test (electrs)
Process completed with exit code 1.
test (mempool)
The job was canceled because "electrs" failed.
test/services/transaction.test.ts > transactionProcessor > enqueueTransaction: should be add transaction request to queue: test/services/transaction.test.ts#L130
AssertionError: expected 2 to be 1 // Object.is equality - Expected + Received - 1 + 2 ❯ test/services/transaction.test.ts:130:27
test/services/utxo.test.ts > UTXOSyncer > enqueueSyncJob: should be remove repeat job when is exists: test/services/utxo.test.ts#L58
AssertionError: expected "removeRepeatableByKey" to be called at least once ❯ test/services/utxo.test.ts:58:17
test/routes/rgbpp/address.test.ts > /:btc_address/balance - with pending_amount: test/routes/rgbpp/address.test.ts#L166
Error: Snapshot `/:btc_address/balance - with pending_amount 1` mismatched ❯ test/routes/rgbpp/address.test.ts:166:18
test (mempool)
Process completed with exit code 1.
test (electrs)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/