2017-08-15 11:53:18 +02:00

20 lines
468 B
JavaScript

'use strict';
const env = jasmine.getEnv();
const jasmineReporters = require('jasmine-reporters');
const junitReporter = new jasmineReporters.JUnitXmlReporter({
savePath: '.',
consolidateAll: false
});
env.addReporter(junitReporter);
const JasmineConsoleReporter = require('jasmine-console-reporter');
const consoleReporter = new JasmineConsoleReporter({
colors: 2,
cleanStack: 3,
verbosity: 4,
activity: false
});
env.addReporter(consoleReporter);