Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
LaunchTestNodeOptions

Icon LinkInterface: LaunchTestNodeOptions<TContractConfigs>

@fuel-ts/contract .test-utils .LaunchTestNodeOptions

Icon LinkType parameters

NameType
TContractConfigsextends DeployContractConfig []

Icon LinkHierarchy

  • LaunchCustomProviderAndGetWalletsOptions

    LaunchTestNodeOptions

Icon LinkProperties

Icon LinkcontractsConfigs

contractsConfigs: TContractConfigs

Pass in either the path to the contract's root directory to deploy the contract or use DeployContractConfig for more control.

Icon LinkDefined in

packages/contract/src/test-utils/launch-test-node.ts:39 Icon Link


Icon LinklaunchNodeServerPort

Optional launchNodeServerPort: string

Icon LinkInherited from

LaunchCustomProviderAndGetWalletsOptions.launchNodeServerPort

Icon LinkDefined in

packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:17


Icon LinknodeOptions

Optional nodeOptions: Partial<Omit<LaunchNodeOptions, "snapshotConfig"> & { snapshotConfig: PartialObjectDeep<SnapshotConfigs , {}> }>

Options for configuring the test node.

Icon LinkInherited from

LaunchCustomProviderAndGetWalletsOptions.nodeOptions

Icon LinkDefined in

packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:14


Icon LinkproviderOptions

Optional providerOptions: Partial<ProviderOptions >

Options for configuring the provider.

Icon LinkInherited from

LaunchCustomProviderAndGetWalletsOptions.providerOptions

Icon LinkDefined in

packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:12


Icon LinkwalletsConfig

Optional walletsConfig: Partial<WalletsConfigOptions>

Configures the wallets that should exist in the genesis block of the fuel-core node.

Icon LinkInherited from

LaunchCustomProviderAndGetWalletsOptions.walletsConfig

Icon LinkDefined in

packages/account/dist/test-utils/setup-test-provider-and-wallets.d.ts:10