Lesson 7: FundMe.test.js - Invalid BigNumber value #2420
-
Hi, repo link: https://github.com/JR-Vickers/FundMe I'm stuck at the FundMe.test.js portion of lesson 7 (timestamp 11:18:15). This is the error message: I'm pretty sure my FundMe.test.js code is correct (I tried running the code from the github repo and got the same message). Here it is, anyway: I suspect the issue is somewhere in my deploy-fund-me.js files, but I'm not sure where. I've gone through it line-by-line, but I can't find what's wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
@JR-Vickers Hey! Instead of pictures, push it to GitHub and leave a link here. It will help to debug easily. |
Beta Was this translation helpful? Give feedback.
-
Push to GitHub and reply w/ the link |
Beta Was this translation helpful? Give feedback.
-
@JR-Vickers These were the issues:
|
Beta Was this translation helpful? Give feedback.
@JR-Vickers These were the issues:
DECIMALS
andINITIAL_ANSWER
were not available in the helper file but you were importing that in the mock script.Now it is working