Use const/let in specs, not var

This commit is contained in:
Steve Gravrock
2022-04-16 13:41:44 -07:00
parent 482dc883eb
commit 1166d10e43
111 changed files with 2522 additions and 2675 deletions

View File

@@ -1,10 +1,10 @@
var path = require('path'),
const path = require('path'),
jasmineBrowser = require('jasmine-browser-runner'),
jasmineCore = require('../../lib/jasmine-core.js');
var configFile = process.argv[2] || 'jasmine-browser.js';
const configFile = process.argv[2] || 'jasmine-browser.js';
var config = require(path.resolve('spec/support', configFile));
const config = require(path.resolve('spec/support', configFile));
config.jasmineCore = jasmineCore;
config.batchReporter = true;