Unit test done
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user