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 commita6889776f4. * updates * fixes #1206 (cherry picked from commit58a42443df)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
const { decodeLogs } = require('../helpers/decodeLogs');
|
||||
const { ZERO_ADDRESS } = require('../helpers/constants');
|
||||
const SimpleToken = artifacts.require('SimpleToken');
|
||||
|
||||
const BigNumber = web3.BigNumber;
|
||||
@ -10,8 +11,6 @@ require('chai')
|
||||
contract('SimpleToken', function ([_, creator]) {
|
||||
let token;
|
||||
|
||||
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
|
||||
|
||||
beforeEach(async function () {
|
||||
token = await SimpleToken.new({ from: creator });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user