Skip to content

Module: test-utils

Interfaces

Type Aliases

TContracts

Ƭ TContracts<T>: { [K in keyof T]: Awaited<ReturnType<Awaited<ReturnType<T[K]["factory"]["deploy"]>>["waitForResult"]>>["contract"] }

Type parameters

NameType
Textends DeployContractConfig[]

Defined in

packages/contract/src/test-utils/launch-test-node.ts:41

Functions

launchTestNode

launchTestNode<TFactories>(«destructured»?): Promise<LaunchTestNodeReturn<TFactories>>

Type parameters

NameType
TFactoriesextends DeployContractConfig[]

Parameters

NameType
«destructured»Partial<LaunchTestNodeOptions<TFactories>>

Returns

Promise<LaunchTestNodeReturn<TFactories>>

Defined in

packages/contract/src/test-utils/launch-test-node.ts:124