Module

Ctl.Internal.Test.KeyDir

#runContractTestsWithKeyDir

runContractTestsWithKeyDir :: ContractParams -> FilePath -> TestPlanM ContractTest Unit -> TestPlanM (Aff Unit) Unit

Runs ContractTests given a ContractParams value.

This function can be used to interpret TestPlanM ContractTest in any environment.

Tests are funded by the wallet in the supplied Contract environment. The FilePath parameter should point to a directory to store generated private keys (to make sure that no funds or on-chain state are lost).

Modules