add tests for crowdsale contracts

This commit is contained in:
Francisco Giordano
2017-06-30 14:57:58 -03:00
parent 4d55d8fa8e
commit fadb2cf47e
12 changed files with 504 additions and 0 deletions

3
test/helpers/ether.js Normal file
View File

@ -0,0 +1,3 @@
export default function ether(n) {
return new web3.BigNumber(web3.toWei(n, 'ether'))
}