Skip to content

@gala-chain/testAPI


API > networkRoot

Function: networkRoot()

networkRoot(): string

Gets the network root path from environment variables.

Returns

Path to the GalaChain network root directory

Throws

Error if GALA_NETWORK_ROOT_PATH environment variable is not set

Source

chain-test/src/e2e/ContractTestClient.ts:59