Interface: LaunchTestNodeOptions<TContractConfigs>
@fuel-ts/contract.test-utils.LaunchTestNodeOptions
Type parameters
Name | Type |
---|---|
TContractConfigs | extends DeployContractConfig [] |
Hierarchy
LaunchCustomProviderAndGetWalletsOptions
↳
LaunchTestNodeOptions
Properties
contractsConfigs
• contractsConfigs: TContractConfigs
Pass in either the path to the contract's root directory to deploy the contract or use DeployContractConfig
for more control.
Defined in
packages/contract/src/test-utils/launch-test-node.ts:39
launchNodeServerPort
• Optional
launchNodeServerPort: string
Inherited from
LaunchCustomProviderAndGetWalletsOptions.launchNodeServerPort
Defined in
packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:17
nodeOptions
• Optional
nodeOptions: Partial
<Omit
<LaunchNodeOptions
, "snapshotConfig"
> & { snapshotConfig
: PartialObjectDeep
<SnapshotConfigs
, {}> }>
Options for configuring the test node.
Inherited from
LaunchCustomProviderAndGetWalletsOptions.nodeOptions
Defined in
packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:14
providerOptions
• Optional
providerOptions: Partial
<ProviderOptions
>
Options for configuring the provider.
Inherited from
LaunchCustomProviderAndGetWalletsOptions.providerOptions
Defined in
packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:12
walletsConfig
• Optional
walletsConfig: Partial
<WalletsConfigOptions
>
Configures the wallets that should exist in the genesis block of the fuel-core
node.
Inherited from
LaunchCustomProviderAndGetWalletsOptions.walletsConfig
Defined in
packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:10