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:
@ -36,7 +36,7 @@ function shouldSupportInterfaces (interfaces = []) {
|
||||
this.thing = this.mock || this.token;
|
||||
});
|
||||
|
||||
for (let k of interfaces) {
|
||||
for (const k of interfaces) {
|
||||
const interfaceId = INTERFACE_IDS[k];
|
||||
describe(k, function () {
|
||||
it('should use less than 30k gas', async function () {
|
||||
|
||||
Reference in New Issue
Block a user