mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
cover api/common/errors.js with tests
This commit is contained in:
2
test/fixtures/api/responses/index.js
vendored
2
test/fixtures/api/responses/index.js
vendored
@@ -22,7 +22,7 @@ module.exports = {
|
||||
trackingOn: require('./get-transaction-settings-tracking-on.json'),
|
||||
trackingOff: require('./get-transaction-settings-tracking-off.json'),
|
||||
setRegularKey: require('./get-transaction-settings-set-regular-key.json'),
|
||||
trustlineFrozeOff: require('./get-transaction-trust-set-froze-off.json'),
|
||||
trustlineFrozenOff: require('./get-transaction-trust-set-frozen-off.json'),
|
||||
notValidated: require('./get-transaction-not-validated.json')
|
||||
},
|
||||
getTransactions: require('./get-transactions.json'),
|
||||
|
||||
2
test/fixtures/api/rippled/index.js
vendored
2
test/fixtures/api/rippled/index.js
vendored
@@ -30,7 +30,7 @@ module.exports = {
|
||||
OfferCreate: require('./tx/offer-create.json'),
|
||||
OfferCancel: require('./tx/offer-cancel.json'),
|
||||
TrustSet: require('./tx/trust-set.json'),
|
||||
TrustSetFrozeOff: require('./tx/trust-set-froze-off.json'),
|
||||
TrustSetFrozenOff: require('./tx/trust-set-frozen-off.json'),
|
||||
NotFound: require('./tx/not-found.json'),
|
||||
NoLedgerIndex: require('./tx/no-ledger-index.json'),
|
||||
NoLedgerFound: require('./tx/no-ledger-found.json'),
|
||||
|
||||
Reference in New Issue
Block a user