mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-01 01:25:48 +00:00
fix: remove response.status from returned object (#1698)
* remove response.status * fix unit tests * fix integration tests * remove now-unneeded helper method * fix rename
This commit is contained in:
@@ -31,10 +31,8 @@ describe('account_offers', function () {
|
||||
offers: [],
|
||||
validated: false,
|
||||
},
|
||||
status: 'success',
|
||||
type: 'response',
|
||||
}
|
||||
assert.equal(response.status, expected.status)
|
||||
assert.equal(response.type, expected.type)
|
||||
assert.equal(typeof response.result.ledger_current_index, 'number')
|
||||
assert.deepEqual(
|
||||
|
||||
Reference in New Issue
Block a user