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