feat: Add foundry environment and CI
This commit is contained in:
33
foundry/lib/forge-std/src/Test.sol
Normal file
33
foundry/lib/forge-std/src/Test.sol
Normal file
@@ -0,0 +1,33 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity >=0.6.2 <0.9.0;
|
||||
|
||||
pragma experimental ABIEncoderV2;
|
||||
|
||||
// 💬 ABOUT
|
||||
// Forge Std's default Test.
|
||||
|
||||
// 🧩 MODULES
|
||||
import {console} from "./console.sol";
|
||||
import {console2} from "./console2.sol";
|
||||
import {safeconsole} from "./safeconsole.sol";
|
||||
import {StdAssertions} from "./StdAssertions.sol";
|
||||
import {StdChains} from "./StdChains.sol";
|
||||
import {StdCheats} from "./StdCheats.sol";
|
||||
import {stdError} from "./StdError.sol";
|
||||
import {StdInvariant} from "./StdInvariant.sol";
|
||||
import {stdJson} from "./StdJson.sol";
|
||||
import {stdMath} from "./StdMath.sol";
|
||||
import {StdStorage, stdStorage} from "./StdStorage.sol";
|
||||
import {StdStyle} from "./StdStyle.sol";
|
||||
import {stdToml} from "./StdToml.sol";
|
||||
import {StdUtils} from "./StdUtils.sol";
|
||||
import {Vm} from "./Vm.sol";
|
||||
|
||||
// 📦 BOILERPLATE
|
||||
import {TestBase} from "./Base.sol";
|
||||
|
||||
// ⭐️ TEST
|
||||
abstract contract Test is TestBase, StdAssertions, StdChains, StdCheats, StdInvariant, StdUtils {
|
||||
// Note: IS_TEST() must return true.
|
||||
bool public IS_TEST = true;
|
||||
}
|
||||
Reference in New Issue
Block a user