realm-js/tests/spec/helpers/reporters.js

11 lines
349 B
JavaScript
Raw Normal View History

'use strict';
2016-10-04 22:02:51 +00:00
var jasmineReporters = require('jasmine-reporters');
var junitReporter = new jasmineReporters.JUnitXmlReporter({
savePath: '.',
consolidateAll: false
});
jasmine.getEnv().addReporter(junitReporter);
var JasmineConsoleReporter = require('jasmine-console-reporter');
jasmine.getEnv().addReporter(new JasmineConsoleReporter());