Closed ChiragG2101 closed 2 years ago
Hello there: You need to replace this line of code: await expect(fundMe.fund()).to.be.revertedWith("You need to spend more ETH") with await expect(fundMe.fund()).to.be.reverted Hopefully...It will work
Thanks! it worked
ERROR:
Here's the code i m using to test Fund Function