Skip to main content

New answers tagged

0 votes

to.be.revertedWith("Error Message ") returning failed test despite custom error matching "Error Message"

I was facing the same error as following Patrick's course, until I figure my await was misplaced. You don't need to await for the function you're providing to expect(). it("Reverts when ...
jujuvideogirlAI's user avatar

Top 50 recent answers are included