Hi everybody
I send a msg here but it was deleted (i dont know why 🤷‍♂️)
My question was simple and i think here is the right place to ask it :)

Im trying to write a test in solidity to test a library.
Inside this library there is a function with a require().
Do you know if it’s possible to test the require throw inside my test? :)

I saw exemples for contract but not for library

Thanks in advance :)

Nov 9, 2020, 8:14 PM
How are you writing your tests? Solidity or JS?
Or something else?
Nov 9, 2020, 8:31 PM
In solidity :)
Nov 9, 2020, 8:39 PM

© 2024 Draquery.com All rights reserved.