Hardhat Fund Me - Unit Testing #2528
Answered
by
RoboCrypter
outlander23
asked this question in
Q&A
-
No Contract deployed with name FundMe ? When I try to run
FundMe.test.js
01-Deploy-FundMe.js
FundMe.sol
package.json
|
Beta Was this translation helpful? Give feedback.
Answered by
RoboCrypter
Sep 12, 2022
Replies: 1 comment 2 replies
-
@smmiloy23 : Add tags in your Like this : And you didn't send your So, check your |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
outlander23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@smmiloy23 : Add tags in your
01-deploy-fundMe.js
deploy script :Like this :
module.exports.tags = ["all", "fundme"];
And you didn't send your
01-fundMe-deploy.js
file but instead you send your00-deploy-mocks.js
.So, check your
01-deploy-fundMe.js
if there were no tags present, add these in, just like you did in00-deploy-mocks.js
at the end!