mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-29 08:35:49 +00:00
chore: switch to rippleci Docker container (#2534)
* fix docker container * fix attempt * use fix for browser tests too * update contributing * fix tests * fix integration tests issues * use variable for docker image
This commit is contained in:
@@ -156,7 +156,7 @@ describe('subscribe', function () {
|
||||
const ledgerResponse: LedgerStreamResponse =
|
||||
response.result as LedgerStreamResponse
|
||||
// Explicitly checking that there are only known fields in the return
|
||||
const expectedResult = {
|
||||
const expectedResult: LedgerStreamResponse = {
|
||||
fee_base: ledgerResponse.fee_base,
|
||||
ledger_hash: ledgerResponse.ledger_hash,
|
||||
ledger_index: ledgerResponse.ledger_index,
|
||||
@@ -165,6 +165,9 @@ describe('subscribe', function () {
|
||||
reserve_inc: ledgerResponse.reserve_inc,
|
||||
validated_ledgers: ledgerResponse.validated_ledgers,
|
||||
}
|
||||
if (ledgerResponse.fee_ref) {
|
||||
expectedResult.fee_ref = ledgerResponse.fee_ref
|
||||
}
|
||||
assert.equal(response.type, 'response')
|
||||
assert.deepEqual(response.result, expectedResult)
|
||||
|
||||
|
||||
@@ -191,6 +191,7 @@ export async function verifySubmittedTransaction(
|
||||
'ledger_index',
|
||||
'meta',
|
||||
'validated',
|
||||
'ctid',
|
||||
]),
|
||||
typeof tx === 'string' ? decode(tx) : tx,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user