(Lesson - 9) Getting error while running unit test #2078
Answered
by
alymurtazamemon
Vanshika0901
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Aug 26, 2022
Replies: 2 comments 11 replies
-
@Vanshika0901 Make sure your helper file has this |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
alymurtazamemon
-
In your deploy/00-deploy-mocks.js file you have imported "developmentsChains" it should be "deploymentsChains" according to your code base. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Vanshika0901 Make sure your helper file has this
const developmentChains = ["hardhat", "localhost"];
and it is imported in the 00 deploy file like thisconst { developmentChains } = require("../helper-hardhat-config");
.