Skip to content

@fuel-ts/contract v0.94.6Docs


test-utils

Index

Interfaces

Type Aliases

TContracts<T>

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

Type Parameters

T extends DeployContractConfig[]

Defined in

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

Functions

launchTestNode()

launchTestNode<TFactories>(__namedParameters): Promise<LaunchTestNodeReturn<TFactories>>

Type Parameters

TFactories extends DeployContractConfig[]

Parameters

__namedParameters: Partial<LaunchTestNodeOptions<TFactories>> = {}

Returns

Promise<LaunchTestNodeReturn<TFactories>>

Defined in

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