I am testing some deployment features of my contracts, and I would like to reset the local hardhat network to initial state between some of the tests, in particular, to clear out all previously deployed contracts from the test net. (I am not using an independent note -- ust the one that gets created when you type hh test.)
Is there a way to do this inside a test suite, rather than having to rerun it all together?
hrevariable ? – gneric Jan 24 '22 at 15:11const hre = require("hardhat");. Ofc there should behardhatinstalled as devDependencies. Source: https://hardhat.org/guides/scripts.html – Timo Wagner Jan 26 '22 at 08:08