PatrickAlphaC / hardhat-fund-me-fcc

82 stars 183 forks source link

Edited only owner test in FundMe.test.js #114

Closed ccurves closed 1 year ago

ccurves commented 1 year ago

The 'await expect' line in repo throws an error, changed from revertedWith to revertedWithCustomError and applied syntax according to documentation.

PatrickAlphaC commented 1 year ago

This change seems to be breaking the tests, are you using the same versions as laid out in the package.json?

ccurves commented 1 year ago

Ohh sorry to hear that, but isn't the repo suppose to be updated to use the current versions? Considering a lot has changed since the video was shot...Awesome tutorial by the way patrick

PatrickAlphaC commented 1 year ago

It's a little tricky... We want the video to be able to be followed along with, but I see your point.