Lesson 7: FundMe.test.js >>> Error: expected 0 constructor arguments, got 2 [SOLVED] #275
-
I am getting this error when running cmd line on FundMe.test.js:
00-deploy-mocks.js deployed properly in the previous section & code is identical to the video. Not sure what the issue is, any input is welcome. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@DorianDaSilva Provide more information, it is very hard to understand problem like this. |
Beta Was this translation helpful? Give feedback.
-
@ali-thegilfoyle For some reason constructor arguments were deleted again from the MockV3Aggregator.json test file in artifacts. Just added the missing arguments as such:
|
Beta Was this translation helpful? Give feedback.
@ali-thegilfoyle For some reason constructor arguments were deleted again from the MockV3Aggregator.json test file in artifacts.
Just added the missing arguments as such: