added a test helper with common constants (#1400)
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359)"
This reverts commit a6889776f4.
* updates
* fixes #1206
This commit is contained in:
@ -2,6 +2,7 @@ const expectEvent = require('../helpers/expectEvent');
|
||||
const { expectThrow } = require('../helpers/expectThrow');
|
||||
const { EVMRevert } = require('../helpers/EVMRevert');
|
||||
const { ethGetBalance } = require('../helpers/web3');
|
||||
const { ether } = require('../helpers/ether');
|
||||
|
||||
const BigNumber = web3.BigNumber;
|
||||
|
||||
@ -10,7 +11,7 @@ require('chai')
|
||||
.should();
|
||||
|
||||
function shouldBehaveLikeEscrow (primary, [payee1, payee2]) {
|
||||
const amount = web3.toWei(42.0, 'ether');
|
||||
const amount = ether(42.0);
|
||||
|
||||
describe('as an escrow', function () {
|
||||
describe('deposits', function () {
|
||||
|
||||
Reference in New Issue
Block a user