Lesson 7, Error: Invalid Chai property: revertedWith #4803
-
I have already tried solutions from ==> #997 (comment) When I install I'm in a vicious tail spin if I continue to install/uninstall dependencies. Is there something missing or irrelevant in my package.json
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ok nevermind. Looks like the fix is Credit ==> https://stackoverflow.com/a/73781832/8066713 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Ok nevermind. Looks like the fix is
require("@nomicfoundation/hardhat-chai-matchers")
in heardhat.config.jsAs I already had
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
in my dependencies.Credit ==> https://stackoverflow.com/a/73781832/8066713