mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-19 19:55:51 +00:00
test: SignerListSet transaction integration tests (#1621)
* add tests * clean up helper functions * fix account funding * remove unneeded method * use new wallets for each test * automatically fund wallets * fix TODO
This commit is contained in:
@@ -26,7 +26,7 @@ describe('Utility method integration tests', function () {
|
||||
status: 'success',
|
||||
type: 'response',
|
||||
}
|
||||
assert.deepEqual(response, expected)
|
||||
assert.deepEqual(_.omit(response, 'id'), _.omit(expected, 'id'))
|
||||
})
|
||||
|
||||
it('random', async function () {
|
||||
@@ -41,7 +41,6 @@ describe('Utility method integration tests', function () {
|
||||
status: 'success',
|
||||
type: 'response',
|
||||
}
|
||||
assert.equal(response.id, expected.id)
|
||||
assert.equal(response.status, expected.status)
|
||||
assert.equal(response.type, expected.type)
|
||||
assert.equal(response.result.random.length, 64)
|
||||
|
||||
Reference in New Issue
Block a user