TypeError : not a function Hardhat-Fund-me Unit Testing #1182
-
This is the test that is giving me error which is TypeError: fundMe.addressesFunding is not a function
and this is my FundMe.sol which i think should help;
I have tried changing my parenthesis into square brackets which i thought was the error because as i was accessing the mapping. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK i got it in my FundMe.sol my mapping was declared private |
Beta Was this translation helpful? Give feedback.
OK i got it in my FundMe.sol my mapping was declared private