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:
@@ -4,9 +4,10 @@
|
||||
toHaveFailedExpectationsForRunnable: function() {
|
||||
return {
|
||||
compare: function(actual, fullName, expectedFailures) {
|
||||
let foundRunnable = false,
|
||||
expectations = true,
|
||||
foundFailures = [];
|
||||
let foundRunnable = false;
|
||||
let expectations = true;
|
||||
let foundFailures = [];
|
||||
|
||||
for (let i = 0; i < actual.calls.count(); i++) {
|
||||
const args = actual.calls.argsFor(i)[0];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(function() {
|
||||
const path = require('path'),
|
||||
glob = require('glob');
|
||||
const path = require('path');
|
||||
const glob = require('glob');
|
||||
|
||||
const jasmineUnderTestRequire = require(path.join(
|
||||
__dirname,
|
||||
|
||||
Reference in New Issue
Block a user