Use one declaration per statement
The old style of merging all of a function's variable declarations into a single statement made some sense back in the days of var, but there's no reason to keep doing it now that we use const and let.
This commit is contained in:
@@ -145,8 +145,8 @@ describe('base helpers', function() {
|
||||
});
|
||||
|
||||
it('is consistent with setTimeout in this environment', function(done) {
|
||||
const f1 = jasmine.createSpy('setTimeout callback for ' + max),
|
||||
f2 = jasmine.createSpy('setTimeout callback for ' + (max + 1));
|
||||
const f1 = jasmine.createSpy('setTimeout callback for ' + max);
|
||||
const f2 = jasmine.createSpy('setTimeout callback for ' + (max + 1));
|
||||
|
||||
// Suppress printing of TimeoutOverflowWarning in node
|
||||
if (typeof process !== 'undefined' && process.emitWarning) {
|
||||
|
||||
Reference in New Issue
Block a user