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

9 lines
334 B
JavaScript
Raw Normal View History

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());