You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commonly used in foundry unit tests, adding support for this cheatcode will get us closer to being able to re-use existing setUp functions out-of-the-box, eg:
import { ExistingUnitTestBase } from "./ExistingUnitTestBase.sol";
contract MedusaHarness is ExistingUnitTestBase {
function setUp() public virtual override {
ExistingUnitTestBase.setUp();
}
// now fuzz fns & invariant checks have access to eg an example system deployment, helpful addresses/tokens, etc
}
The text was updated successfully, but these errors were encountered:
Commonly used in foundry unit tests, adding support for this cheatcode will get us closer to being able to re-use existing
setUp
functions out-of-the-box, eg:The text was updated successfully, but these errors were encountered: