2016-11-14 10:48:50 -08:00
|
|
|
'use strict';
|
|
|
|
|
2017-08-11 12:01:00 +02:00
|
|
|
const env = jasmine.getEnv();
|
|
|
|
|
|
|
|
const jasmineReporters = require('jasmine-reporters');
|
|
|
|
const junitReporter = new jasmineReporters.JUnitXmlReporter({
|
2016-10-04 15:02:51 -07:00
|
|
|
savePath: '.',
|
|
|
|
consolidateAll: false
|
|
|
|
});
|
2017-08-11 12:01:00 +02:00
|
|
|
env.addReporter(junitReporter);
|
2016-10-04 15:02:51 -07:00
|
|
|
|
2017-08-11 12:01:00 +02:00
|
|
|
const JasmineConsoleReporter = require('jasmine-console-reporter');
|
|
|
|
const consoleReporter = new JasmineConsoleReporter({
|
|
|
|
colors: 2,
|
|
|
|
cleanStack: 3,
|
|
|
|
verbosity: 4,
|
|
|
|
activity: false
|
|
|
|
});
|
|
|
|
env.addReporter(consoleReporter);
|