Test
Foundry contract is provided.You can import it like this:
IncoTest
extends Foundry’s Test
contract, and exposes useful Inco-specific cheatcodes to test your contract.If you are extending the
setUp
function, remember to call super.setUp()
at the beginning of your function.
Example
The following example is present with comments explaining the code here in the lightning-rod template.