Error While testing FundMe.test.js
[Error: No Contract deployed with name FundMe]
#5555
-
Hi, I'm trying to test the constructor of "FundMe.sol" and I'm getting the following error. I have tried changing the `const { assert } = require("chai"); describe("Funds", async function () {
}); Here's my code for FundMe.sol `// SPDX-License-Identifier: MIT import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; error FundMe__NotOwner(); contract FundMe {
}` Here's a link to my hardhat fundme repo. If you want to check my code, dependencies and configurations. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@Mumtaz503 Remove the module.exports = deploymentFtn; |
Beta Was this translation helpful? Give feedback.
@Mumtaz503 Remove the
default
from these lines;