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.
12 lines
374 B
JavaScript
12 lines
374 B
JavaScript
const path = require('path');
|
|
const jasmineBrowser = require('jasmine-browser-runner');
|
|
const jasmineCore = require('../../lib/jasmine-core.js');
|
|
|
|
const configFile = process.argv[2] || 'jasmine-browser.js';
|
|
|
|
const config = require(path.resolve('spec/support', configFile));
|
|
config.jasmineCore = jasmineCore;
|
|
config.batchReporter = true;
|
|
|
|
jasmineBrowser.startServer(config);
|