Prefer const in test files (#1117)
* Removed all instances of var. * Sorted eslintrc rules. * Made eslint rule severity explicit. * Now prefering const over let.
This commit is contained in:
@ -25,7 +25,7 @@ contract('Bounty', function ([_, owner, researcher]) {
|
||||
|
||||
it('can set reward', async function () {
|
||||
await sendReward(owner, this.bounty.address, reward);
|
||||
|
||||
|
||||
const balance = await ethGetBalance(this.bounty.address);
|
||||
balance.should.be.bignumber.eq(reward);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user