Files
jasmine/spec/support/ci.js
Steve Gravrock 434575f49d 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.
2026-03-11 06:30:46 -07:00

14 lines
426 B
JavaScript

const path = require('path');
const jasmineBrowser = require('jasmine-browser-runner');
const jasmineCore = require('../../lib/jasmine-core');
const config = require(path.resolve('spec/support/jasmine-browser.js'));
config.clearReporters = true;
config.jasmineCore = jasmineCore;
jasmineBrowser.runSpecs(config).catch(function(error) {
// eslint-disable-next-line no-console
console.error(error);
process.exit(1);
});