types testing.AlgorandTestAutomationContext
@algorandfoundation/algokit-utils / types/testing / AlgorandTestAutomationContext
Interface: AlgorandTestAutomationContext¶
types/testing.AlgorandTestAutomationContext
Test automation context.
Table of contents¶
Properties¶
- algod
- generateAccount
- indexer
- kmd
- testAccount
- transactionLogger
- waitForIndexer
- waitForIndexerTransaction
Properties¶
algod¶
• algod: default
Algod client instance that will log transactions in transactionLogger
Defined in¶
generateAccount¶
• generateAccount: (params
: GetTestAccountParams
) => Promise
\<default
>
Generate and fund an additional ephemerally created account
Type declaration¶
▸ (params
): Promise
\<default
>
Generate and fund an additional ephemerally created account
Parameters¶
Name | Type |
---|---|
params |
GetTestAccountParams |
Returns¶
Promise
\<default
>
Defined in¶
indexer¶
• indexer: default
Indexer client instance
Defined in¶
kmd¶
• kmd: default
KMD client instance
Defined in¶
testAccount¶
• testAccount: default
Default, funded test account that is ephemerally created
Defined in¶
transactionLogger¶
• transactionLogger: TransactionLogger
Transaction logger that will log transaction IDs for all transactions issued by algod
Defined in¶
waitForIndexer¶
• waitForIndexer: () => Promise
\<void
>
Wait for the indexer to catch up with all transactions logged by transactionLogger
Type declaration¶
▸ (): Promise
\<void
>
Wait for the indexer to catch up with all transactions logged by transactionLogger
Returns¶
Promise
\<void
>
Defined in¶
waitForIndexerTransaction¶
• waitForIndexerTransaction: (transactionId
: string
) => Promise
\<TransactionLookupResult
>
Wait for the indexer to catch up with the given transaction ID
Type declaration¶
▸ (transactionId
): Promise
\<TransactionLookupResult
>
Wait for the indexer to catch up with the given transaction ID
Parameters¶
Name | Type |
---|---|
transactionId |
string |
Returns¶
Promise
\<TransactionLookupResult
>