Cannot resolve error: Invalid Chai Property: revertedWith #6115
Unanswered
affanmustafa
asked this question in
Q&A
Replies: 1 comment
-
Hello @affanmustafa As you are using hardhat v6 it can cause you a lot of errors as it have been massively updated. Please downgrade your ethers to v5 to match course repository. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have tried the solutions posted on different discussions regarding this but I have not been able to resolve this error. After running
yarn hardhat test
I get:Invalid Chai Property: revertedWith
My repository is here.
Here is my
randomIpfsNft.test.js
:Here is my
hardhat.config.js
:And lastly, my
package.json
:Beta Was this translation helpful? Give feedback.
All reactions