Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types testing.AlgorandTestAutomationContext

@algorandfoundation/algokit-utils / types/testing / AlgorandTestAutomationContext

Interface: AlgorandTestAutomationContext

types/testing.AlgorandTestAutomationContext

Test automation context.

Table of contents

Properties

Properties

algod

algod: default

Algod client instance that will log transactions in transactionLogger

Defined in

src/types/testing.ts:18


generateAccount

generateAccount: (params: GetTestAccountParams) => Promise\<default>

Type declaration

▸ (params): Promise\<default>

Generate and fund an additional ephemerally created account

Parameters
Name Type
params GetTestAccountParams
Returns

Promise\<default>

Defined in

src/types/testing.ts:28


indexer

indexer: default

Indexer client instance

Defined in

src/types/testing.ts:20


kmd

kmd: default

KMD client instance

Defined in

src/types/testing.ts:22


testAccount

testAccount: default

Default, funded test account that is ephemerally created

Defined in

src/types/testing.ts:26


transactionLogger

transactionLogger: TransactionLogger

Transaction logger that will log transaction IDs for all transactions issued by algod

Defined in

src/types/testing.ts:24


waitForIndexer

waitForIndexer: () => Promise\<void>

Type declaration

▸ (): Promise\<void>

Wait for the indexer to catch up with all transactions logged by transactionLogger

Returns

Promise\<void>

Defined in

src/types/testing.ts:30


waitForIndexerTransaction

waitForIndexerTransaction: (transactionId: string) => Promise\<TransactionLookupResult>

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>

Defined in

src/types/testing.ts:32