cover api/common/errors.js with tests

This commit is contained in:
Ivan Tivonenko
2015-07-29 18:10:41 +03:00
parent 823ef738fe
commit 63e3b71eb5
6 changed files with 35 additions and 5 deletions

View File

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

View File

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