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:
Mayukha Vadari
2023-10-24 14:50:52 -04:00
committed by GitHub
parent e0d12141c7
commit c47aa58354
5 changed files with 75 additions and 68 deletions

View File

@@ -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)

View File

@@ -191,6 +191,7 @@ export async function verifySubmittedTransaction(
'ledger_index',
'meta',
'validated',
'ctid',
]),
typeof tx === 'string' ? decode(tx) : tx,
)