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:
@ -1,13 +1,11 @@
|
||||
const { assertRevert } = require('../helpers/assertRevert');
|
||||
|
||||
const { ZERO_ADDRESS } = require('../helpers/constants');
|
||||
const SecondaryMock = artifacts.require('SecondaryMock');
|
||||
|
||||
require('chai')
|
||||
.should();
|
||||
|
||||
contract('Secondary', function ([_, primary, newPrimary, anyone]) {
|
||||
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
|
||||
|
||||
beforeEach(async function () {
|
||||
this.secondary = await SecondaryMock.new({ from: primary });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user