I was proceeding with unit test of smart contract but I found expectRevert doesn't work properly.
In the past, I have ever expectRevert() on the less version than node14 and it worked well then.
But it seems to no work on the higher version than node 16.
Is that right and deprecated?
Any help would be great.
What is the error that you see?
thanks for you reply.
it seems to no work as expected rather than having an error. (there was an error when run a test)
Just wanted to know if expectRevert() has deprecated on the higher versions.
it would be good if you can give an example of it's still working well.
It's not deprecated but maintenance is low and it might break.