Lesson 7 FundMe dot test dot js - Error when running unit test #551
-
Following with the tutorial at time stamp 11:18:00, when I run the yarn hardhat test, I am facing with the following error
Its not the full error code but it continues in the helper.ts file.. I am not able to understand what is wrong here. As it says TypeError : cannot read properties of undefined (reading 'length'), following all the errors line by line is getting a bit confusing for me. Below is the fundme.test.js code for your reference.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi @x-gee i think your code is failing here
did you added below config in hardhat.config.js
if not ..could you please try running the test after adding those lines |
Beta Was this translation helpful? Give feedback.
hi @x-gee
i think your code is failing here
did you added below config in hardhat.config.js
if not ..could you please try running the test after adding those lines