Closed cchrs closed 7 years ago
Hi, before starting with something real, I had the feeling that there is the need to test easily for throws. I found this functionaly in the openZepplin project which offer also some other interesting functions. Is it ok to use code from other open-source projects like openZepplin? https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/test/helpers/expectThrow.js I think they are under MIT license. I also changed the test file of SubmittedPaperIndex to async/await syntax, hope this is fine. Just let me know if this is ok.
I confirm:
Making an enhancement - ignore this if not making an enhancement