Testing
Running the Test Suite.

A comprehensive Test Suite for the SDK and Contract Suite is located in the test
folder in the root of the project. Before running the tests, you will need to compile the project and set up your environment variables.
Kinora Contract Suite and SDK Test
comment out this part of the KinoraOpenAction contract before running the test suite or an error will throw. It is only a required check once deployed.
!MODULE_GLOBALS.isErc20CurrencyRegistered(
_params.milestones[i].rewards[j].tokenAddress
)
) {
revert KinoraErrors.CurrencyNotWhitelisted();
}
To run the contract and node Sequence tests, place a valid PRIVATE_KEY
in your root .env
file to create the signer object for transacting within the hardhat local network.
PRIVATE_KEY=
Run the following in your command line:
npm run test
Last updated