mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-01 09:35:48 +00:00
test: integration tests for CheckCreate, CheckCancel, CheckCash (#1664)
* test checkCreate * test CheckCancel * test CheckCash * add browser tests
This commit is contained in:
@@ -84,7 +84,11 @@ export async function testTransaction(
|
||||
// check that the transaction was successful
|
||||
assert.equal(response.status, 'success')
|
||||
assert.equal(response.type, 'response')
|
||||
assert.equal(response.result.engine_result, 'tesSUCCESS')
|
||||
assert.equal(
|
||||
response.result.engine_result,
|
||||
'tesSUCCESS',
|
||||
response.result.engine_result_message,
|
||||
)
|
||||
|
||||
// check that the transaction is on the ledger
|
||||
const signedTx = _.omit(response.result.tx_json, 'hash')
|
||||
|
||||
Reference in New Issue
Block a user