mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
test: adds integration tests for rippled utility methods (#1597)
* add utility tests * type client better * simplify ledgerAccept
This commit is contained in:
@@ -11,7 +11,7 @@ export async function suiteClientSetup(this: Mocha.Context): Promise<void> {
|
||||
this.transactions = []
|
||||
|
||||
await setupClient.bind(this)(serverUrl)
|
||||
ledgerAccept(this.client)
|
||||
await ledgerAccept(this.client)
|
||||
this.newWallet = generateXAddress({ includeClassicAddress: true })
|
||||
// two times to give time to server to send `ledgerClosed` event
|
||||
// so getLedgerVersion will return right value
|
||||
|
||||
Reference in New Issue
Block a user