Unit test done

This commit is contained in:
2024-08-06 16:14:38 +08:00
parent 074260c945
commit aefe632675
6 changed files with 246 additions and 34 deletions
+3
View File
@@ -9,6 +9,7 @@ pragma solidity ^0.8.0;
/***** 2. Import *****/
import "./PriceConverter.sol";
import "hardhat/console.sol";
// Save Gas by using constant, immutable for variables
/***** 3. Error Codes *****/
@@ -54,6 +55,8 @@ contract FundMe {
revert FundMe__NotOwner();
}
_; // doing the rest of the code
console.log("Log available via 'yarn hardhat test'");
}
/***** Function Orders: